diff -r f814a7c2a318 -r 5a5c34a75e1a QTfrontend/ui/widget/gamecfgwidget.cpp --- a/QTfrontend/ui/widget/gamecfgwidget.cpp Wed Jan 23 23:57:47 2013 +0400 +++ b/QTfrontend/ui/widget/gamecfgwidget.cpp Wed Jan 23 16:35:26 2013 -0500 @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include @@ -192,6 +193,17 @@ setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); this->tabbed = false; } + + // Restore scrollbar palettes, since Qt seems to forget them easily when switching parents + QList allSBars = findChildren(); + QPalette pal = palette(); + pal.setColor(QPalette::WindowText, QColor(0xff, 0xcc, 0x00)); + pal.setColor(QPalette::Button, QColor(0x00, 0x35, 0x1d)); + pal.setColor(QPalette::Base, QColor(0x00, 0x35, 0x1d)); + pal.setColor(QPalette::Window, QColor(0x00, 0x00, 0x00)); + + for (int i = 0; i < allSBars.size(); ++i) + allSBars.at(i)->setPalette(pal); } void GameCFGWidget::jumpToSchemes()