aboutsummaryrefslogtreecommitdiff
path: root/examples/GuiClient/mainDialog.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-11-20 15:31:05 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-11-20 15:31:05 +0000
commit9b945a7bfa1a45a0b5e6610eb7cb0e8c25fd56d6 (patch)
treeb8bc755af36328d04ce0ec3a6b42d2fc8d36e762 /examples/GuiClient/mainDialog.cpp
parent0a894399fbf820c116632cc1bca77ffa72f1d40f (diff)
downloadqxmpp-9b945a7bfa1a45a0b5e6610eb7cb0e8c25fd56d6.tar.gz
fix GuiClient build failure on Mac
Diffstat (limited to 'examples/GuiClient/mainDialog.cpp')
-rw-r--r--examples/GuiClient/mainDialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/GuiClient/mainDialog.cpp b/examples/GuiClient/mainDialog.cpp
index 5ec06900..e7d2803c 100644
--- a/examples/GuiClient/mainDialog.cpp
+++ b/examples/GuiClient/mainDialog.cpp
@@ -310,7 +310,8 @@ void mainDialog::keyPressEvent(QKeyEvent* event1)
event1->ignore();
return;
}
-#ifdef Q_WS_MAC
+// FIXME: I'm not sure what this is supposed to do, but it does not compile.
+#if 0
else if(minimize && e->modifiers() == Qt::ControlModifier && e->key() == Qt::Key_Period)
{
event1->ignore();