Commit 6305064e authored by Andre Heinecke's avatar Andre Heinecke
Browse files

Enfore modern sigencfileswizard style on Windows

Otherwise the wizard's title is duplicated in a very ugly
way on Windows 10 and does not look more native in any way imo.
parent c24d6945
......@@ -312,6 +312,10 @@ SignEncryptFilesWizard::SignEncryptFilesWizard(QWidget *parent, Qt::WindowFlags
, mEncryptionUserMutable(false)
, mEncryptionPreset(false)
{
#ifdef Q_OS_WIN
// Enforce modern style to avoid vista style uglyness.
setWizardStyle(QWizard::ModernStyle);
#endif
mSigEncPage = new SigEncPage(this);
mResultPage = new ResultPage(this);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment