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:
parent
f6f4b5f219
commit
64fef21a86
@ -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());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user