[PC-BSD Commits] r2261 - pcbsd/trunk/PBIdelete

svn at pcbsd.org svn at pcbsd.org
Wed Jul 2 14:46:02 PDT 2008


Author: kris
Date: 2008-07-02 14:46:02 -0700 (Wed, 02 Jul 2008)
New Revision: 2261

Modified:
   pcbsd/trunk/PBIdelete/main.cpp
Log:

Switched PBIdelete to use QCoreApplication, that doesn't throw session errors
when used at the command-line without X running. 



Modified: pcbsd/trunk/PBIdelete/main.cpp
===================================================================
--- pcbsd/trunk/PBIdelete/main.cpp	2008-07-02 21:33:30 UTC (rev 2260)
+++ pcbsd/trunk/PBIdelete/main.cpp	2008-07-02 21:46:02 UTC (rev 2261)
@@ -33,7 +33,7 @@
 
 int main( int argc, char ** argv )
 {
-    QApplication a( argc, argv, FALSE );
+    QCoreApplication a( argc, argv);
 
     QString command = "whoami";
     QString inputLine = getLineFromCommandOutput(command);



More information about the Commits mailing list