diff options
author | tv <tv@krebsco.de> | 2024-12-23 23:24:59 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2024-12-23 23:24:59 +0100 |
commit | 79f1d3c6e99987c93fe7196eec3b63ec5305e6bc (patch) | |
tree | 651ac654dd7ea491f957f0110a8bb5f8ae564dfa /krebs/5pkgs/simple/flameshot-once/flameshot/flameshot-12.applauncher.patch | |
parent | 32e3b1071cfab6026795f44d38d496e6a7e8af8a (diff) |
Diffstat (limited to 'krebs/5pkgs/simple/flameshot-once/flameshot/flameshot-12.applauncher.patch')
-rw-r--r-- | krebs/5pkgs/simple/flameshot-once/flameshot/flameshot-12.applauncher.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/krebs/5pkgs/simple/flameshot-once/flameshot/flameshot-12.applauncher.patch b/krebs/5pkgs/simple/flameshot-once/flameshot/flameshot-12.applauncher.patch deleted file mode 100644 index 6937c55b3..000000000 --- a/krebs/5pkgs/simple/flameshot-once/flameshot/flameshot-12.applauncher.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/src/tools/launcher/applauncherwidget.cpp b/src/tools/launcher/applauncherwidget.cpp -index 8a202c89..7427aeb9 100644 ---- a/src/tools/launcher/applauncherwidget.cpp -+++ b/src/tools/launcher/applauncherwidget.cpp -@@ -20,6 +20,7 @@ - #include <QProcess> - #include <QStandardPaths> - #include <QTabWidget> -+#include <stdlib.h> - - namespace { - #if defined(Q_OS_WIN) -@@ -66,7 +67,12 @@ AppLauncherWidget::AppLauncherWidget(const QPixmap& p, QWidget* parent) - QDir appsDirLocal(dirLocal); - m_parser.processDirectory(appsDirLocal); - -- QString dir = QStringLiteral("/usr/share/applications/"); -+ const char *USER = secure_getenv("USER"); -+ QString dirUser = "/etc/profiles/per-user/" + QString::fromUtf8(USER) + "/share/applications/"; -+ QDir appsDirUser(dirUser); -+ m_parser.processDirectory(appsDirUser); -+ -+ QString dir = QStringLiteral("/run/current-system/sw/share/applications/"); - QDir appsDir(dir); - m_parser.processDirectory(appsDir); - #endif |