diff --git a/sleepyhead/mainwindow.cpp b/sleepyhead/mainwindow.cpp index e6ac99f1..82a87ce7 100644 --- a/sleepyhead/mainwindow.cpp +++ b/sleepyhead/mainwindow.cpp @@ -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_VERSIONaction_Screenshot->setEnabled(false); +#endif #endif overview=NULL;