mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-24 23:35:37 -04:00
Replace some more Q_WS_* with Q_OS_*.
This commit is contained in:
parent
308d3ad84b
commit
8619682da3
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue