Fix typos

This commit is contained in:
Jonas Kvinge
2022-08-28 02:44:37 +02:00
parent d15d64eb67
commit d97b0478a7
32 changed files with 51 additions and 51 deletions

View File

@@ -97,7 +97,7 @@ MimeData *FileViewList::MimeDataFromSelection() const {
QList<QString> filenames = FilenamesFromSelection();
// if just one folder selected - use it's path as the new playlist's name
// if just one folder selected - use its path as the new playlist's name
if (filenames.size() == 1 && QFileInfo(filenames.first()).isDir()) {
if (filenames.first().length() > 20) {
mimedata->name_for_new_playlist_ = QDir(filenames.first()).dirName();

View File

@@ -174,7 +174,7 @@ void GroupedIconView::LayoutItems() {
headers_ << header;
// Remember this group so we don't add it again.
// Remember this group, so we don't add it again.
last_group = group;
// Move the next item immediately below the header.

View File

@@ -94,7 +94,7 @@ void TrackSlider::SetApplication(Application *app) {
void TrackSlider::UpdateLabelWidth() {
// We set the label's minimum size so it won't resize itself when the user is dragging the slider.
// We set the label's minimum size, so it won't resize itself when the user is dragging the slider.
UpdateLabelWidth(ui_->elapsed, "0:00:00");
UpdateLabelWidth(ui_->remaining, "-0:00:00");