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
This commit is contained in:
parent
2e4e986dc0
commit
6f268e490c
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue