ports/x11/albert/files/patch-src_app_settingswidget_settingswidget.cpp
Jesper Schmitz Mouridsen 586b77bee1 New port x11/albert
Albert is a fast and flexible keyboard launcher

Approved by:	lwhsu
Differential Revision: https://reviews.freebsd.org/D23367
2020-01-29 14:22:22 +00:00

11 lines
649 B
C++

--- src/app/settingswidget/settingswidget.cpp.orig 2018-12-31 18:07:36 UTC
+++ src/app/settingswidget/settingswidget.cpp
@@ -89,7 +89,7 @@ Core::SettingsWidget::SettingsWidget(ExtensionManager
connect(ui.checkBox_telemetry, &QCheckBox::toggled, this, [this](bool checked){ telemetry_->enable(checked); });
// AUTOSTART
-#ifdef Q_OS_LINUX
+#if defined Q_OS_LINUX || defined Q_OS_FREEBSD
QString desktopfile_path = QStandardPaths::locate(QStandardPaths::ApplicationsLocation,
"albert.desktop",
QStandardPaths::LocateFile);