mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
Drop our QCleanLooks style subclass since there no longer seem to be an issue with the standard one
This commit is contained in:
parent
a468404ab5
commit
ad3f5f6e20
4 changed files with 0 additions and 109 deletions
|
@ -38,7 +38,6 @@
|
|||
#include <QStyleFactory>
|
||||
#include <QSplashScreen>
|
||||
#include <QPushButton>
|
||||
#include "qgnomelook.h"
|
||||
#include "GUI.h"
|
||||
#include "ico.h"
|
||||
#else
|
||||
|
@ -159,11 +158,6 @@ void useStyle(QApplication *app, QString style){
|
|||
if(!style.isEmpty()) {
|
||||
QApplication::setStyle(QStyleFactory::create(style));
|
||||
}
|
||||
if(app->style()->objectName() == "cleanlooks") {
|
||||
// Force our own cleanlooks style
|
||||
qDebug("Forcing our own cleanlooks style");
|
||||
app->setStyle(new QGnomeLookStyle());
|
||||
}
|
||||
Preferences::setStyle(app->style()->objectName());
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue