Skip to content

Commit

Permalink
Adjust colors for tests to be generic.
Browse files Browse the repository at this point in the history
  • Loading branch information
przemek83 committed Dec 23, 2024
1 parent d385215 commit ab8f7ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/Tests.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include <qcolor.h>
#include <QTest>

#include "DoubleSliderTest.h"
Expand All @@ -14,7 +15,9 @@ namespace
void setLightPalette()
{
QPalette palette;
palette.setColor(QPalette::Window, QColor(240, 240, 240));
QColor color(240, 240, 240);
palette.setColor(QPalette::Window, color);
palette.setColor(QPalette::Button, color);
QApplication::setPalette(palette);
}
} // namespace
Expand Down
Binary file modified tests/res/sliderDefault.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ab8f7ab

Please sign in to comment.