Replace some more Q_WS_* with Q_OS_*.

This commit is contained in:
Felix Geyer committed 2012-07-19 19:42:26 +02:00
1 parent 308d3ad84b
commit 8619682da3
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ DialogyWidget::DialogyWidget(QWidget* parent)
void DialogyWidget::keyPressEvent(QKeyEvent* e)
{
#ifdef Q_WS_MAC
#ifdef Q_OS_MAC
if (e->modifiers() == Qt::ControlModifier && e->key() == Qt::Key_Period) {
if (!clickButton(QDialogButtonBox::Cancel)) {
e->ignore();
+1 -1
View File
@@ -49,7 +49,7 @@
#include <QtCore/QIODevice>
#if defined(Q_WS_WIN)
#if defined(Q_OS_WIN)
# if !defined(QT_QTIOCOMPRESSOR_EXPORT) && !defined(QT_QTIOCOMPRESSOR_IMPORT)
# define QT_QTIOCOMPRESSOR_EXPORT
# elif defined(QT_QTIOCOMPRESSOR_IMPORT)