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

List:       kde-commits
Subject:    extragear/pim/ksig
From:       Pino Toscano <pino () kde ! org>
Date:       2012-09-21 21:53:15
Message-ID: 20120921215315.E561EAC7E8 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1317215 by pino:

random/daily CLI mode: just use a QCoreApplication

it is enough to load and use the non-GUI stuff used when doing the commandline-only \
--random/--daily modes


 M  +1 -1      main.cpp  


--- trunk/extragear/pim/ksig/main.cpp #1317214:1317215
@@ -47,7 +47,7 @@
     KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
 
     if(args->isSet("random") || args->isSet("daily")) {
-	KApplication a(false);
+	QCoreApplication app(argc, argv);
 	SigModel model;
 	SigGenerator generator(&model, SigModel::SignatureRole);
 


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

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