From 4c3924d923d6c61af6bf7358da224c2adeff1ffd Mon Sep 17 00:00:00 2001 From: l10n daemon script Date: Sun, 2 Aug 2020 02:29:12 +0200 Subject: GIT_SILENT made messages (after extraction) --- src/org.kde.dolphin.appdata.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/org.kde.dolphin.appdata.xml b/src/org.kde.dolphin.appdata.xml index 7a6d4a7b8..6a38eae3b 100644 --- a/src/org.kde.dolphin.appdata.xml +++ b/src/org.kde.dolphin.appdata.xml @@ -567,6 +567,7 @@ Gestió de fitxers al Dolphin Gestió de fitxers al Dolphin Správa souborů v Dolphinu + Filhåndtering i Dolphin Dateiverwaltung mit Dolphin Διαχείριση αρχείων στο Dolphin File management in Dolphin -- cgit v1.3 From 52a7af86c542f5a8416a27c79d7a886617d696a5 Mon Sep 17 00:00:00 2001 From: l10n daemon script Date: Sun, 2 Aug 2020 07:59:53 +0200 Subject: GIT_SILENT made messages (after extraction) --- src/org.kde.dolphin.appdata.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/org.kde.dolphin.appdata.xml b/src/org.kde.dolphin.appdata.xml index 07fcbe2bb..cb66d0e65 100644 --- a/src/org.kde.dolphin.appdata.xml +++ b/src/org.kde.dolphin.appdata.xml @@ -567,6 +567,7 @@ Gestió de fitxers al Dolphin Gestió de fitxers al Dolphin Správa souborů v Dolphinu + Filhåndtering i Dolphin Dateiverwaltung mit Dolphin Διαχείριση αρχείων στο Dolphin File management in Dolphin -- cgit v1.3 From 48158d7079cd5f727eade27aa516d8f3133abca2 Mon Sep 17 00:00:00 2001 From: Antonio Rojas Date: Sat, 1 Aug 2020 18:42:36 +0200 Subject: Remove MaximumSize entry from kdeglobals when settings the preview file size limit to "No limit" Instead of setting it to 0, which KIO's PreviewJob interprets as "No previews", breaking previews in konsole and Plasma desktop BUG: 424403 --- src/settings/general/previewssettingspage.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/settings/general/previewssettingspage.cpp b/src/settings/general/previewssettingspage.cpp index 3e435b53c..e52304888 100644 --- a/src/settings/general/previewssettingspage.cpp +++ b/src/settings/general/previewssettingspage.cpp @@ -131,10 +131,14 @@ void PreviewsSettingsPage::applySettings() KConfigGroup globalConfig(KSharedConfig::openConfig(), QStringLiteral("PreviewSettings")); globalConfig.writeEntry("Plugins", m_enabledPreviewPlugins); - const qulonglong maximumLocalSize = static_cast(m_localFileSizeBox->value()) * 1024 * 1024; - globalConfig.writeEntry("MaximumSize", - maximumLocalSize, - KConfigBase::Normal | KConfigBase::Global); + if (!m_localFileSizeBox->value()) { + globalConfig.deleteEntry("MaximumSize", KConfigBase::Normal | KConfigBase::Global); + } else { + const qulonglong maximumLocalSize = static_cast(m_localFileSizeBox->value()) * 1024 * 1024; + globalConfig.writeEntry("MaximumSize", + maximumLocalSize, + KConfigBase::Normal | KConfigBase::Global); + } const qulonglong maximumRemoteSize = static_cast(m_remoteFileSizeBox->value()) * 1024 * 1024; globalConfig.writeEntry("MaximumRemoteSize", -- cgit v1.3 From f9fd0e7be301eb6fa5019b0abfdfbc7ed60e2325 Mon Sep 17 00:00:00 2001 From: Ismael Asensio Date: Fri, 31 Jul 2020 23:59:21 +0200 Subject: [search] Close tags menu after click when there is only one tag It stays open otherwise to allow checking/unchecking several tags at a time BUG: 424873 FIXED-IN: 20.08 --- src/search/dolphinfacetswidget.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/search/dolphinfacetswidget.cpp b/src/search/dolphinfacetswidget.cpp index d9943abcd..8bae83887 100644 --- a/src/search/dolphinfacetswidget.cpp +++ b/src/search/dolphinfacetswidget.cpp @@ -272,12 +272,14 @@ void DolphinFacetsWidget::updateTagsMenuItems(const QUrl&, const KFileItemList& allTags.sort(Qt::CaseInsensitive); allTags.removeDuplicates(); + const bool onlyOneTag = allTags.count() == 1; + for (const QString& tagName : qAsConst(allTags)) { QAction* action = m_tagsSelector->menu()->addAction(QIcon::fromTheme(QStringLiteral("tag")), tagName); action->setCheckable(true); action->setChecked(m_searchTags.contains(tagName)); - connect(action, &QAction::triggered, this, [this, tagName](bool isChecked) { + connect(action, &QAction::triggered, this, [this, tagName, onlyOneTag](bool isChecked) { if (isChecked) { addSearchTag(tagName); } else { @@ -285,7 +287,9 @@ void DolphinFacetsWidget::updateTagsMenuItems(const QUrl&, const KFileItemList& } emit facetChanged(); - m_tagsSelector->menu()->show(); + if (!onlyOneTag) { + m_tagsSelector->menu()->show(); + } }); } -- cgit v1.3