mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 11:02:30 -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
|
@ -189,7 +189,7 @@ void GetStartedDialog::tickFirewallChanged()
|
|||
static void sendMail(const QString &address, const QString &subject, QString body)
|
||||
{
|
||||
/* Only under windows do we need to do this! */
|
||||
#ifdef Q_WS_WIN
|
||||
#ifdef Q_OS_WIN
|
||||
/* search and replace the end of lines with: "%0D%0A" */
|
||||
body.replace("\n", "%0D%0A");
|
||||
#endif
|
||||
|
@ -343,7 +343,7 @@ void GetStartedDialog::emailSupport()
|
|||
|
||||
#ifdef __APPLE__
|
||||
|
||||
#ifdef Q_WS_MAC
|
||||
#ifdef Q_OS_MAC
|
||||
switch(QSysInfo::MacintoshVersion)
|
||||
{
|
||||
case QSysInfo::MV_9:
|
||||
|
@ -383,7 +383,7 @@ void GetStartedDialog::emailSupport()
|
|||
#else
|
||||
#if defined(_WIN32) || defined(__MINGW32__)
|
||||
// Windows
|
||||
#ifdef Q_WS_WIN
|
||||
#ifdef Q_OS_WIN
|
||||
switch(QSysInfo::windowsVersion())
|
||||
{
|
||||
case QSysInfo::WV_32s:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue