NOISSUE force SetupWizard into 'classic' look and feel and increment analytics version

This should force the dialog to show again.
If it still looks wrong on Windows 10, please report this on discord.
This commit is contained in:
Petr Mrázek 2017-01-02 08:23:03 +01:00
parent a666dc0a1a
commit 64723f68e3
2 changed files with 3 additions and 1 deletions

View File

@ -478,7 +478,7 @@ void MultiMC::shutdownLogger()
void MultiMC::initAnalytics() void MultiMC::initAnalytics()
{ {
const int analyticsVersion = 1; const int analyticsVersion = 2;
if(BuildConfig.ANALYTICS_ID.isEmpty()) if(BuildConfig.ANALYTICS_ID.isEmpty())
{ {
return; return;

View File

@ -197,6 +197,8 @@ SetupWizard::SetupWizard(QWidget *parent) : QWizard(parent)
{ {
setObjectName(QStringLiteral("SetupWizard")); setObjectName(QStringLiteral("SetupWizard"));
resize(615, 659); resize(615, 659);
// make it ugly everywhere to avoid variability in theming
setWizardStyle(QWizard::ClassicStyle);
setOptions(QWizard::NoCancelButton | QWizard::IndependentPages); setOptions(QWizard::NoCancelButton | QWizard::IndependentPages);
if (LanguageWizardPage::isRequired()) if (LanguageWizardPage::isRequired())
{ {