Replace some more Q_WS_* with Q_OS_*.

This commit is contained in:
Felix Geyer 2012-07-19 14:54:10 +02:00
parent 308d3ad84b
commit 8619682da3
2 changed files with 2 additions and 2 deletions

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();

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)