mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03: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
|
@ -34,7 +34,6 @@
|
|||
#include <QSystemTrayIcon>
|
||||
#include <QApplication>
|
||||
#include <QSettings>
|
||||
#include "qgnomelook.h"
|
||||
#include <QDialogButtonBox>
|
||||
#include <QCloseEvent>
|
||||
#include <QDesktopWidget>
|
||||
|
@ -304,11 +303,6 @@ void options_imp::changePage(QListWidgetItem *current, QListWidgetItem *previous
|
|||
|
||||
void options_imp::useStyle() {
|
||||
QApplication::setStyle(QStyleFactory::create(comboStyle->itemText(comboStyle->currentIndex())));
|
||||
if(QApplication::style()->objectName() == "cleanlooks") {
|
||||
// Force our own cleanlooks style
|
||||
qDebug("Forcing our own cleanlooks style");
|
||||
QApplication::setStyle(new QGnomeLookStyle());
|
||||
}
|
||||
}
|
||||
|
||||
void options_imp::loadWindowState() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue