extragear/multimedia/amarok/src

Mark Kretschmann kretschmann at kde.org
Sat Jun 28 15:44:00 CEST 2008


SVN commit 825516 by markey:

Important change: I made it so that you can now start multiple Amarok 2 instances at the same time. This is meant as a convenience hack for us devs, so that we can continue listening to music while hacking on Amarok.

We must remember to remove this hack before the release!

CCMAIL: amarok-devel at kde.org


 M  +4 -1      main.cpp  


--- trunk/extragear/multimedia/amarok/src/main.cpp #825515:825516
@@ -109,7 +109,10 @@
     App::initCliArgs();
     KUniqueApplication::addCmdLineOptions();
 
-    if (!KUniqueApplication::start()) {
+    #warning "REMOVE NonUniqueInstance FLAG BEFORE RELEASE!"
+    #warning "It's a convenience hack for developing, so that we can start multiple Amarok instances."
+    //if (!KUniqueApplication::start()) {
+    if ( !KUniqueApplication::start( KUniqueApplication::NonUniqueInstance ) ) {
         fprintf(stderr, "Amarok is already running!\n");
         return 0;
     }


More information about the Amarok-devel mailing list