#include <QFontMetrics>
#include <QPixmapCache>
#include <QString>
+#include <QStyleFactory>
+#include <QtGlobal>
using std::map;
using std::pair;
qApp->setPalette(default_palette_);
if (theme_name.compare("QDarkStyleSheet") == 0) {
+#ifdef Q_OS_WIN
+ qApp->setStyle(QStyleFactory::create("Fusion"));
+#endif
QPalette dark_palette;
dark_palette.setColor(QPalette::Window, QColor(53, 53, 53));
dark_palette.setColor(QPalette::WindowText, Qt::white);
dark_palette.setColor(QPalette::Highlight, QColor(42, 130, 218));
qApp->setPalette(dark_palette);
} else if (theme_name.compare("DarkStyle") == 0) {
+#ifdef Q_OS_WIN
+ qApp->setStyle(QStyleFactory::create("Fusion"));
+#endif
QPalette dark_palette;
dark_palette.setColor(QPalette::Window, QColor(53, 53, 53));
dark_palette.setColor(QPalette::WindowText, Qt::white);