fixed: removed use of missing controls on mac and made window bigger (to make room for new controls)
This commit is contained in:
parent
57327fba19
commit
2307b7a40a
|
@ -92,6 +92,12 @@ MainWindow::MainWindow(QSettings& settings, AppConfig& appConfig) :
|
||||||
// elevate checkbox is only useful on ms windows.
|
// elevate checkbox is only useful on ms windows.
|
||||||
m_pElevateCheckBox->hide();
|
m_pElevateCheckBox->hide();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(Q_OS_MAC)
|
||||||
|
// fonts on mac are bigger, so window needs to be bigger.
|
||||||
|
resize(720, 550);
|
||||||
|
setMinimumSize(size());
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
MainWindow::~MainWindow()
|
MainWindow::~MainWindow()
|
||||||
|
|
|
@ -28,13 +28,6 @@ SetupWizard::SetupWizard(MainWindow& mainWindow, bool startMain) :
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(Q_OS_WIN)
|
|
||||||
m_pServiceRadioButton->setEnabled(false);
|
|
||||||
m_pServiceRadioButton->setText(tr("Service (Windows only)"));
|
|
||||||
m_pServiceLabel->setEnabled(false);
|
|
||||||
m_pDesktopRadioButton->setChecked(true);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
connect(this, SIGNAL(finished(int)), this, SLOT(handlefinished()));
|
connect(this, SIGNAL(finished(int)), this, SLOT(handlefinished()));
|
||||||
connect(m_pServerRadioButton, SIGNAL(toggled(bool)), m_MainWindow.m_pGroupServer, SLOT(setChecked(bool)));
|
connect(m_pServerRadioButton, SIGNAL(toggled(bool)), m_MainWindow.m_pGroupServer, SLOT(setChecked(bool)));
|
||||||
connect(m_pClientRadioButton, SIGNAL(toggled(bool)), m_MainWindow.m_pGroupClient, SLOT(setChecked(bool)));
|
connect(m_pClientRadioButton, SIGNAL(toggled(bool)), m_MainWindow.m_pGroupClient, SLOT(setChecked(bool)));
|
||||||
|
|
Loading…
Reference in New Issue