From 48f1861eff54f6e6dc899a4459d1d54db05cdecf Mon Sep 17 00:00:00 2001 From: SnowLeo Date: Wed, 24 Aug 2011 18:33:25 +0300 Subject: [PATCH] Set keyboard parent for any os but Mac --- src/board/UBBoardPaletteManager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) mode change 100644 => 100755 src/board/UBBoardPaletteManager.cpp diff --git a/src/board/UBBoardPaletteManager.cpp b/src/board/UBBoardPaletteManager.cpp old mode 100644 new mode 100755 index 5f85d718..5392cc28 --- a/src/board/UBBoardPaletteManager.cpp +++ b/src/board/UBBoardPaletteManager.cpp @@ -132,7 +132,9 @@ void UBBoardPaletteManager::setupPalettes() if (UBPlatformUtils::hasVirtualKeyboard()) { mKeyboardPalette = UBKeyboardPalette::create(0); - //mKeyboardPalette->setParent(mContainer); +#ifndef Q_WS_MAC + mKeyboardPalette->setParent(mContainer); +#endif } mZoomPalette = new UBZoomPalette(mContainer);