mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-08 17:13:57 -07:00
Scope this fix to Windows.
Took 4 minutes
This commit is contained in:
parent
dc5eb208c1
commit
1a8785c565
1 changed files with 2 additions and 0 deletions
|
|
@ -21,7 +21,9 @@ OracleWizard::OracleWizard(QWidget *parent) : QWizard(parent)
|
||||||
// define a dummy context that will be used where needed
|
// define a dummy context that will be used where needed
|
||||||
QString dummy = QT_TRANSLATE_NOOP("i18n", "English");
|
QString dummy = QT_TRANSLATE_NOOP("i18n", "English");
|
||||||
|
|
||||||
|
#ifdef Q_OS_WIN
|
||||||
setWizardStyle(QWizard::ModernStyle);
|
setWizardStyle(QWizard::ModernStyle);
|
||||||
|
#endif
|
||||||
|
|
||||||
QString oracleSettingsFile = SettingsCache::instance().getSettingsPath() + "oracle.ini";
|
QString oracleSettingsFile = SettingsCache::instance().getSettingsPath() + "oracle.ini";
|
||||||
settings = new QSettings(oracleSettingsFile, QSettings::IniFormat, this);
|
settings = new QSettings(oracleSettingsFile, QSettings::IniFormat, this);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue