add more #ifdef
s
This commit is contained in:
parent
0426149580
commit
9673dac22b
@ -871,9 +871,11 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv)
|
|||||||
m_mcedit.reset(new MCEditTool(m_settings));
|
m_mcedit.reset(new MCEditTool(m_settings));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef Q_OS_MACOS
|
||||||
connect(this, &Application::clickedOnDock, [this]() {
|
connect(this, &Application::clickedOnDock, [this]() {
|
||||||
this->showMainWindow();
|
this->showMainWindow();
|
||||||
});
|
});
|
||||||
|
#endif
|
||||||
|
|
||||||
connect(this, &Application::aboutToQuit, [this](){
|
connect(this, &Application::aboutToQuit, [this](){
|
||||||
if(m_instances)
|
if(m_instances)
|
||||||
|
@ -182,7 +182,10 @@ signals:
|
|||||||
void updateAllowedChanged(bool status);
|
void updateAllowedChanged(bool status);
|
||||||
void globalSettingsAboutToOpen();
|
void globalSettingsAboutToOpen();
|
||||||
void globalSettingsClosed();
|
void globalSettingsClosed();
|
||||||
|
|
||||||
|
#ifdef Q_OS_MACOS
|
||||||
void clickedOnDock();
|
void clickedOnDock();
|
||||||
|
#endif
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
bool launch(
|
bool launch(
|
||||||
|
Loading…
Reference in New Issue
Block a user