mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 02:30:44 +00:00
disable screenshot code only when built with qt4 on Mac
This commit is contained in:
parent
96d6acac19
commit
6e07dfad4e
@ -93,9 +93,11 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
this->setWindowTitle(STR_TR_SleepyHead+QString(" v%1 ("+tr("Profile")+": %2)").arg(version).arg(PREF[STR_GEN_Profile].toString()));
|
||||
//ui->tabWidget->setCurrentIndex(1);
|
||||
|
||||
// Disable Screenshot on Mac Platform,as it doesn't work, and the system provides this functionality anyway.
|
||||
#ifdef Q_OS_MAC
|
||||
// ui->action_Screenshot->setVisible(false);
|
||||
#if(QT_VERSION<QT_VERSION_CHECK(5,0,0))
|
||||
// Disable Screenshot on Mac Platform,as it doesn't work in Qt4, and the system provides this functionality anyway.
|
||||
ui->action_Screenshot->setEnabled(false);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
overview=NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user