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
master
JohannMG 2020-08-03 17:13:49 -07:00
parent 2e4e986dc0
commit 6f268e490c
1 changed files with 1 additions and 1 deletions

View File

@ -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();