aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 939b78f2..3f004913 100644
--- a/main.cpp
+++ b/main.cpp
@@ -192,7 +192,9 @@ int main(int argc, char *argv[])
qWarning().noquote() << "app startd" << "(log: " + logPath + ")";
// Desktop entry
+#ifdef Q_OS_LINUX
registerXdgMime(app);
+#endif
IPC *ipc = new IPC(&app);
QStringList posArgs = parser.positionalArguments();