diff --git a/tests/Tests.cpp b/tests/Tests.cpp index f05475c..a21a4af 100644 --- a/tests/Tests.cpp +++ b/tests/Tests.cpp @@ -8,9 +8,21 @@ #include "ProgressBarCounterTest.h" #include "ProgressBarInfiniteTest.h" +namespace +{ +void setLightPalette() +{ + QPalette palette; + palette.setColor(QPalette::Window, QColor(240, 240, 240)); + QApplication::setPalette(palette); +} +} // namespace + int main(int argc, char* argv[]) { - const QApplication a(argc, argv); + QApplication a(argc, argv); + + setLightPalette(); DoubleSliderTest doubleSliderTest; QTest::qExec(&doubleSliderTest); diff --git a/tests/res/counterFinished.png b/tests/res/counterFinished.png index 25881c7..ba8f76a 100644 Binary files a/tests/res/counterFinished.png and b/tests/res/counterFinished.png differ diff --git a/tests/res/counterInitial.png b/tests/res/counterInitial.png index b3ed588..2ece4bf 100644 Binary files a/tests/res/counterInitial.png and b/tests/res/counterInitial.png differ diff --git a/tests/res/counterUpdated.png b/tests/res/counterUpdated.png index 84409c5..6f0fadf 100644 Binary files a/tests/res/counterUpdated.png and b/tests/res/counterUpdated.png differ diff --git a/tests/res/infinityInitial.png b/tests/res/infinityInitial.png index 3226b88..7d712cb 100644 Binary files a/tests/res/infinityInitial.png and b/tests/res/infinityInitial.png differ diff --git a/tests/res/infinityUpdated.png b/tests/res/infinityUpdated.png index cfa955c..b115f86 100644 Binary files a/tests/res/infinityUpdated.png and b/tests/res/infinityUpdated.png differ