forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kde-apps/dolphin: Fix startup error message
This is a downstream hack for now. KDE-bug: https://bugs.kde.org/show_bug.cgi?id=435586 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <[email protected]>
- Loading branch information
Showing
3 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
kde-apps/dolphin/files/dolphin-21.04.0-fix-no-semantic-desktop.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
diff --git a/src/search/dolphinfacetswidget.cpp b/src/search/dolphinfacetswidget.cpp | ||
index d52d146a8..9f0078631 100644 | ||
--- a/src/search/dolphinfacetswidget.cpp | ||
+++ b/src/search/dolphinfacetswidget.cpp | ||
@@ -7,6 +7,8 @@ | ||
|
||
#include "dolphinfacetswidget.h" | ||
|
||
+#include <config-baloo.h> | ||
+ | ||
#include <KLocalizedString> | ||
|
||
#include <QComboBox> | ||
@@ -257,7 +259,9 @@ void DolphinFacetsWidget::updateTagsSelector() | ||
void DolphinFacetsWidget::updateTagsMenu() | ||
{ | ||
updateTagsMenuItems({}, {}); | ||
+#ifdef HAVE_BALOO | ||
m_tagsLister.openUrl(QUrl(QStringLiteral("tags:/")), KCoreDirLister::OpenUrlFlag::Reload); | ||
+#endif | ||
} | ||
|
||
void DolphinFacetsWidget::updateTagsMenuItems(const QUrl&, const KFileItemList& items) |