mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-21 18:11:32 +03:00
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
src/gui/src
@ -92,6 +92,12 @@ MainWindow::MainWindow(QSettings& settings, AppConfig& appConfig) :
|
||||
// elevate checkbox is only useful on ms windows.
|
||||
m_pElevateCheckBox->hide();
|
||||
#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()
|
||||
|
@ -28,13 +28,6 @@ SetupWizard::SetupWizard(MainWindow& mainWindow, bool startMain) :
|
||||
|
||||
#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(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)));
|
||||
|
Loading…
Reference in New Issue
Block a user