mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 22:21:09 -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
|
@ -77,7 +77,7 @@ ConnectFriendWizard::ConnectFriendWizard(QWidget *parent) :
|
|||
mTitleFontWeight = 0; // Standard
|
||||
|
||||
// this define comes from Qt example. I don't have mac, so it wasn't tested
|
||||
#ifndef Q_WS_MAC
|
||||
#ifndef Q_OS_MAC
|
||||
setWizardStyle(ModernStyle);
|
||||
#endif
|
||||
|
||||
|
@ -568,7 +568,7 @@ void ConnectFriendWizard::initializePage(int id)
|
|||
|
||||
static void sendMail(QString sAddress, QString sSubject, QString sBody)
|
||||
{
|
||||
#ifdef Q_WS_WIN
|
||||
#ifdef Q_OS_WIN
|
||||
/* search and replace the end of lines with: "%0D%0A" */
|
||||
sBody.replace("\n", "%0D%0A");
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue