Browse Source

- Forcing our own cleanlooks style instead of default one on startup (closes #181796)

adaptive-webui-19844
Christophe Dumez 16 years ago
parent
commit
64fef21a86
  1. 8
      src/main.cpp

8
src/main.cpp

@ -103,8 +103,12 @@ void useStyle(QApplication *app, int style){ @@ -103,8 +103,12 @@ void useStyle(QApplication *app, int style){
app->setStyle(new QWindowsXPStyle());
break;
#endif
/*default:
app->setStyle(new QPlastiqueStyle());*/
default:
if(app->style()->objectName() == "cleanlooks") {
// Force our own cleanlooks style
qDebug("Forcing our own cleanlooks style");
app->setStyle(new QGnomeLookStyle());
}
}
}

Loading…
Cancel
Save