Skip to content

Commit

Permalink
Set font for testing app.
Browse files Browse the repository at this point in the history
  • Loading branch information
przemek83 committed Dec 24, 2024
1 parent 278a035 commit 952c025
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/FilterStringsTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,5 @@ void FilterStringsTest::testListItemChecking()
void FilterStringsTest::testSizeHint()
{
const FilterStrings filter(QLatin1String(""), testEntriesList_);
QCOMPARE(filter.sizeHint(), QSize(266, 231));
QCOMPARE(filter.sizeHint(), QSize(266, 230));
}
2 changes: 2 additions & 0 deletions tests/Tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ int main(int argc, char* argv[])

QStyle* style = QStyleFactory::create("Fusion");
QApplication::setStyle(style);
QFont font("Arial", 12);
a.setFont(font);
setLightPalette();

DoubleSliderTest doubleSliderTest;
Expand Down

0 comments on commit 952c025

Please sign in to comment.