mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-26 15:59:50 -05:00
Replace some more Q_WS_* with Q_OS_*.
This commit is contained in:
parent
308d3ad84b
commit
8619682da3
@ -28,7 +28,7 @@ DialogyWidget::DialogyWidget(QWidget* parent)
|
|||||||
|
|
||||||
void DialogyWidget::keyPressEvent(QKeyEvent* e)
|
void DialogyWidget::keyPressEvent(QKeyEvent* e)
|
||||||
{
|
{
|
||||||
#ifdef Q_WS_MAC
|
#ifdef Q_OS_MAC
|
||||||
if (e->modifiers() == Qt::ControlModifier && e->key() == Qt::Key_Period) {
|
if (e->modifiers() == Qt::ControlModifier && e->key() == Qt::Key_Period) {
|
||||||
if (!clickButton(QDialogButtonBox::Cancel)) {
|
if (!clickButton(QDialogButtonBox::Cancel)) {
|
||||||
e->ignore();
|
e->ignore();
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
|
|
||||||
#include <QtCore/QIODevice>
|
#include <QtCore/QIODevice>
|
||||||
|
|
||||||
#if defined(Q_WS_WIN)
|
#if defined(Q_OS_WIN)
|
||||||
# if !defined(QT_QTIOCOMPRESSOR_EXPORT) && !defined(QT_QTIOCOMPRESSOR_IMPORT)
|
# if !defined(QT_QTIOCOMPRESSOR_EXPORT) && !defined(QT_QTIOCOMPRESSOR_IMPORT)
|
||||||
# define QT_QTIOCOMPRESSOR_EXPORT
|
# define QT_QTIOCOMPRESSOR_EXPORT
|
||||||
# elif defined(QT_QTIOCOMPRESSOR_IMPORT)
|
# elif defined(QT_QTIOCOMPRESSOR_IMPORT)
|
||||||
|
Loading…
Reference in New Issue
Block a user