aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-screenshot/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/desktop-utils/lumina-screenshot/main.cpp')
-rw-r--r--src-qt5/desktop-utils/lumina-screenshot/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-screenshot/main.cpp b/src-qt5/desktop-utils/lumina-screenshot/main.cpp
index c1d178a2..c5a9e2c5 100644
--- a/src-qt5/desktop-utils/lumina-screenshot/main.cpp
+++ b/src-qt5/desktop-utils/lumina-screenshot/main.cpp
@@ -15,6 +15,7 @@ int main(int argc, char ** argv)
unsetenv("QT_AUTO_SCREEN_SCALE_FACTOR");
LTHEME::LoadCustomEnvSettings();
LSingleApplication a(argc, argv, "l-screenshot");
+ if(!a.isPrimaryProcess()){ return 0; }
//LuminaThemeEngine theme(&a);
a.setApplicationName("Take Screenshot");
bgstack15