Replaced Q_WS_ --> Q_OS_

Q_WS macros are not available in Qt5
Restores some functions in Options->General dialog that were not available under Qt5
This commit is contained in:
hunbernd 2015-08-29 21:31:01 +02:00
parent 0b5b20d5ea
commit acc3e4bb62
16 changed files with 39 additions and 47 deletions

View file

@ -58,10 +58,10 @@ HelpBrowser::HelpBrowser(QWidget *parent)
{
/* Invoke Qt Designer generated QObject setup routine */
ui.setupUi(this);
#if defined(Q_WS_MAC)
#if defined(Q_OS_MAC)
ui.actionHome->setShortcut(QString("Shift+Ctrl+H"));
#endif
#if !defined(Q_WS_WIN)
#if !defined(Q_OS_WIN)
ui.actionClose->setShortcut(QString("Ctrl+W"));
#endif