enhance Qt5 compatibility

- replace Q_WS_MAC (not supported anymore in Qt5) with Q_OS_MAC (supported
  in Qt4/5)
This commit is contained in:
Philip Kaufmann
2012-09-21 19:06:53 +02:00
parent e96a8c7d86
commit 81605d90f5
10 changed files with 26 additions and 26 deletions

View File

@@ -46,7 +46,7 @@ OptionsDialog::OptionsDialog(QWidget *parent) :
ui->proxyIp->installEventFilter(this);
/* Window elements init */
#ifdef Q_WS_MAC
#ifdef Q_OS_MAC
ui->tabWindow->setVisible(false);
#endif