mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
- Forcing our own cleanlooks style instead of default one on startup (closes #181796)
This commit is contained in:
parent
f6f4b5f219
commit
64fef21a86
1 changed files with 6 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue