mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-05 04:44:19 -04:00
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:
parent
0b5b20d5ea
commit
acc3e4bb62
16 changed files with 39 additions and 47 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue