OSSP CVS Repository

ossp - Difference in ossp-pkg/as/as-gui/as_main.cpp versions 1.5 and 1.6
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/as/as-gui/as_main.cpp 1.5 -> 1.6

--- as_main.cpp  2002/11/13 12:38:25     1.5
+++ as_main.cpp  2002/11/24 20:39:31     1.6
@@ -1,16 +1,11 @@
-#include <qcdestyle.h>
-
 #include "titraq.h"
 
 int main(int argc, char **argv)
 {
     QApplication App(argc, argv);
 
-    // The main Titraq application window
-    Titraqform *pMainform = new Titraqform;
-    App.setMainWidget(pMainform);
-    App.setStyle(new QCDEStyle);    // Change style to CDE
-    pMainform->show();              // Finally start the show
-
+    Titraqform Mainform;            // Main app window
+    App.setMainWidget(&Mainform);
+    Mainform.show();                // Finally start the show
     return App.exec();
 }

CVSTrac 2.0.1