summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--qxt-mini/qxtglobalshortcut.cpp2
-rw-r--r--qxt-mini/qxtglobalshortcut_x11.cpp4
2 files changed, 2 insertions, 4 deletions
diff --git a/qxt-mini/qxtglobalshortcut.cpp b/qxt-mini/qxtglobalshortcut.cpp
index 69514f88..3cb0a93e 100644
--- a/qxt-mini/qxtglobalshortcut.cpp
+++ b/qxt-mini/qxtglobalshortcut.cpp
@@ -55,7 +55,7 @@ void QxtGlobalShortcutPrivate::event_filter_installer::ensure_event_filter()
QxtGlobalShortcutPrivate::QxtGlobalShortcutPrivate(QxtGlobalShortcutPrivate::tag) :
keystate(false), enabled(false), key(Qt::Key(0)), mods(Qt::NoModifier)
{
- qDebug() << "qxt-mini: adding event filter";
+ //qDebug() << "qxt-mini: adding event filter";
}
QxtGlobalShortcutPrivate::QxtGlobalShortcutPrivate() :
diff --git a/qxt-mini/qxtglobalshortcut_x11.cpp b/qxt-mini/qxtglobalshortcut_x11.cpp
index 6647d803..01894cfc 100644
--- a/qxt-mini/qxtglobalshortcut_x11.cpp
+++ b/qxt-mini/qxtglobalshortcut_x11.cpp
@@ -355,9 +355,7 @@ bool QxtGlobalShortcutPrivate::nativeEventFilter(const QByteArray & eventType,
(void) XkbSetDetectableAutoRepeat(x11.display(), True, &val);
- if (val)
- qDebug() << "qxt-mini: fixed x11 autorepeat";
- else
+ if (!val)
qDebug() << "qxt-mini: can't fix x11 autorepeat";
}
}