Force plastique style, as others don't fully support stylesheets
authorunc0rr
Sun, 26 Oct 2008 14:28:49 +0000
changeset 1416 60b86d6fe9ae
parent 1415 6fbfee0e113a
child 1417 210cb6b1b275
Force plastique style, as others don't fully support stylesheets
QTfrontend/main.cpp
--- a/QTfrontend/main.cpp	Sun Oct 26 13:00:35 2008 +0000
+++ b/QTfrontend/main.cpp	Sun Oct 26 14:28:49 2008 +0000
@@ -20,10 +20,7 @@
 #include <QTranslator>
 #include <QLocale>
 #include <QMessageBox>
-#include <QFileInfo>
-#include <QDateTime>
-#include <QTextStream>
-#include <QDesktopWidget>
+#include <QPlastiqueStyle>
 
 #include "hwform.h"
 #include "hwconsts.h"
@@ -47,6 +44,8 @@
 {
 	QApplication app(argc, argv);
 
+	app.setStyle(new QPlastiqueStyle);
+	
 	QDateTime now = QDateTime::currentDateTime();
 	QDateTime zero;
 	srand(now.secsTo(zero));