From 4a1116af25755f5068bd5f2b06671e1970c9b04e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20Johan=20S=C3=B8rvig?= Date: Fri, 22 Mar 2013 09:27:10 +0100 Subject: Remove unused variables in the Cocoa plugin Change-Id: I7cdd369e2fbab02954da6ba3c05b31d93f1e7995 Reviewed-by: Gabriel de Dietrich --- src/plugins/platforms/cocoa/qcocoaapplicationdelegate.mm | 1 - src/plugins/platforms/cocoa/qcocoakeymapper.h | 1 - 2 files changed, 2 deletions(-) diff --git a/src/plugins/platforms/cocoa/qcocoaapplicationdelegate.mm b/src/plugins/platforms/cocoa/qcocoaapplicationdelegate.mm index e756c375f3..e1569d4f44 100644 --- a/src/plugins/platforms/cocoa/qcocoaapplicationdelegate.mm +++ b/src/plugins/platforms/cocoa/qcocoaapplicationdelegate.mm @@ -206,7 +206,6 @@ static void cleanupCocoaApplicationDelegate() // events while the event loop is still running. const QWindowList topLevels = QGuiApplication::topLevelWindows(); for (int i = 0; i < topLevels.size(); ++i) { - QWindow *window = topLevels.at(i); topLevels.at(i)->close(); } diff --git a/src/plugins/platforms/cocoa/qcocoakeymapper.h b/src/plugins/platforms/cocoa/qcocoakeymapper.h index 324b753131..0629de9317 100644 --- a/src/plugins/platforms/cocoa/qcocoakeymapper.h +++ b/src/plugins/platforms/cocoa/qcocoakeymapper.h @@ -99,7 +99,6 @@ private: const UCKeyboardLayout *unicode; void *other; } keyboard_layout_format; - KeyboardLayoutRef currentKeyboardLayout; KeyboardLayoutKind keyboard_kind; UInt32 keyboard_dead; KeyboardLayoutItem *keyLayout[256]; -- cgit v1.2.3