Browse Source

UI: Mac fix — remove wizard background padding

If style is not set it default's to Mac's style on Mac which adds
padding for a background. Looks like wasted space on Mac because there
is no background. Matches windows. Does not affect Linux.

https://doc.qt.io/qt-5/qwizard.html#elements-of-a-wizard-page
JohannMG 5 years ago
parent
commit
6f268e490c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UI/window-basic-auto-config.cpp

+ 1 - 1
UI/window-basic-auto-config.cpp

@@ -745,7 +745,7 @@ AutoConfig::AutoConfig(QWidget *parent) : QWizard(parent)
 
 	std::string serviceType;
 	GetServiceInfo(serviceType, serviceName, server, key);
-#ifdef _WIN32
+#if defined(_WIN32) || defined(__APPLE__)
 	setWizardStyle(QWizard::ModernStyle);
 #endif
 	streamPage = new AutoConfigStreamPage();