Eliminado el uso de las macros Q_WS_*, en qt5 ya no est?n disponibles y es mejor usar Q_OS_* (Q_OS_LINUX, Q_OS_MAC, Q_OS_WIN32)

This commit is contained in:
Luis Ángel San Martín
2013-05-23 09:55:00 +02:00
parent f173981a9d
commit 87dbe7fabf
9 changed files with 15 additions and 15 deletions

View File

@ -10,7 +10,7 @@
#include "startup.h"
#include "yacreader_global.h"
#ifndef Q_WS_WIN
#ifndef Q_OS_WIN32
#include <sys/types.h>
#include <ifaddrs.h>
@ -190,7 +190,7 @@ void ServerConfigDialog::generateQR()
//}
ip->clear();
QString dir;
#ifdef Q_WS_WIN
#ifdef Q_OS_WIN32
QList<QHostAddress> list = QHostInfo::fromName( QHostInfo::localHostName() ).addresses();
QList<QString> otherAddresses;
@ -244,7 +244,7 @@ void ServerConfigDialog::generateQR()
}
//qrCode->setText(dir+":8080");
#ifdef Q_WS_MAC
#ifdef Q_OS_MAC
ip->setFixedWidth(130);
#endif
}