diff options
author | Morten Johan Sørvig <morten.sorvig@digia.com> | 2013-03-22 09:27:10 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-24 03:40:20 +0100 |
commit | 4a1116af25755f5068bd5f2b06671e1970c9b04e (patch) | |
tree | 359f88bb61c7e19344a0b01b981282b0690630f4 /src | |
parent | fa62b6c73ee530033f7f47182067225e40b54da8 (diff) |
Remove unused variables in the Cocoa plugin
Change-Id: I7cdd369e2fbab02954da6ba3c05b31d93f1e7995
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/platforms/cocoa/qcocoaapplicationdelegate.mm | 1 | ||||
-rw-r--r-- | src/plugins/platforms/cocoa/qcocoakeymapper.h | 1 |
2 files changed, 0 insertions, 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]; |