aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-mediaplayer/main.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-08-07 15:05:30 -0400
committerKen Moore <ken@ixsystems.com>2017-08-07 15:17:33 -0400
commit3534e1be0053e4ae078b782bc102f40ce40e6d0f (patch)
treefbb8c7b5ce70acdd1fb6289be41c5ebd0083281d /src-qt5/desktop-utils/lumina-mediaplayer/main.cpp
parentTranslated using Weblate (Catalan) (diff)
downloadlumina-3534e1be0053e4ae078b782bc102f40ce40e6d0f.tar.gz
lumina-3534e1be0053e4ae078b782bc102f40ce40e6d0f.tar.bz2
lumina-3534e1be0053e4ae078b782bc102f40ce40e6d0f.zip
A couple quick updates to lumina-mediaplayer:
1. Enable video for the local file playback where supported. 2. Fix the single-instance forwarding
Diffstat (limited to 'src-qt5/desktop-utils/lumina-mediaplayer/main.cpp')
-rw-r--r--src-qt5/desktop-utils/lumina-mediaplayer/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-mediaplayer/main.cpp b/src-qt5/desktop-utils/lumina-mediaplayer/main.cpp
index 9eebff9f..18b6d73e 100644
--- a/src-qt5/desktop-utils/lumina-mediaplayer/main.cpp
+++ b/src-qt5/desktop-utils/lumina-mediaplayer/main.cpp
@@ -16,6 +16,7 @@
int main(int argc, char *argv[]) {
LTHEME::LoadCustomEnvSettings();
LSingleApplication a(argc, argv, "l-mediap");
+ if(!a.isPrimaryProcess()){ return 0; }
//Now go ahead and setup the app
QStringList args;
for(int i=1; i<argc; i++){
bgstack15