diff --git a/src/ui/main.cpp b/src/ui/main.cpp index c8388247..89e0b341 100644 --- a/src/ui/main.cpp +++ b/src/ui/main.cpp @@ -1,5 +1,6 @@ #include #include +#include #include #ifdef USE_VISUAL_LEAK_DETECTOR @@ -64,7 +65,10 @@ int main(int argc, char *argv[]) } #endif - QApplication::setStyle(QStyleFactory::create("Fusion")); + // Style & Palette + const auto fusionStyle = QStyleFactory::create("Fusion"); + QApplication::setStyle(fusionStyle); + QApplication::setPalette(fusionStyle->standardPalette()); registerMetaTypes();