Skip to content

Commit 4b5ef0a

Browse files
committed
fix(addtestcasewizard): use modern style on windows, mitigate #231
(cherry picked from commit a59b1b7)
1 parent 9625387 commit 4b5ef0a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/addtestcaseswizard.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ AddTestCasesWizard::AddTestCasesWizard(QWidget *parent) : QWizard(parent), ui(ne
3030
header->resizeSection(i, header->sectionSizeHint(i));
3131
}
3232

33+
#ifdef Q_OS_WINDOWS
34+
35+
setWizardStyle(QWizard::ModernStyle);
36+
37+
#endif
38+
3339
connect(ui->inputFilesPattern, &QLineEdit::textChanged, this,
3440
&AddTestCasesWizard::inputFilesPatternChanged);
3541
connect(ui->outputFilesPattern, &QLineEdit::textChanged, this,

0 commit comments

Comments
 (0)