From 9b945a7bfa1a45a0b5e6610eb7cb0e8c25fd56d6 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Sat, 20 Nov 2010 15:31:05 +0000 Subject: fix GuiClient build failure on Mac --- examples/GuiClient/mainDialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples/GuiClient/mainDialog.cpp') 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(); -- cgit v1.2.3