mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 23:07:59 +00:00
- Forcing our own cleanlooks style instead of default one on startup (closes #181796)
This commit is contained in:
parent
f6f4b5f219
commit
64fef21a86
@ -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…
Reference in New Issue
Block a user