[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepim/ktimetracker
From:       Thorsten Staerk <dev () staerk ! de>
Date:       2010-03-26 21:11:14
Message-ID: 20100326211114.82C87AC871 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1107792 by tstaerk:

After the tabs have gone, it should be a KApplication, not a KUniqueApplication.

 M  +1 -2      main.cpp  


--- trunk/KDE/kdepim/ktimetracker/main.cpp #1107791:1107792
@@ -109,7 +109,6 @@
     options.add("totalminutesfortaskid <taskid>", ki18n( "Deliver total minutes for task id" ));
     options.add("version", ki18n( "Outputs the version" ));
     KCmdLineArgs::addCmdLineOptions( options );
-    KUniqueApplication::addCmdLineOptions();
     KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
     int err=0;  // error code
     bool konsolemode=false;  // open a gui and wait for user input?
@@ -123,7 +122,7 @@
 
     if ( !konsolemode )
     {  // no konsole mode
-        KontactInterface::PimUniqueApplication myApp;
+        KApplication myApp;
         MainWindow *mainWindow;
         mainWindow = new MainWindow( icsfile( args ) );
         if (kapp->isSessionRestored() && KMainWindow::canBeRestored( 1 ))
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic