1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

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

This commit is contained in:
Christophe Dumez 2009-07-12 03:35:04 +00:00
parent f6f4b5f219
commit 64fef21a86

View File

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