From 5a4ba69c6ef2c74ddf99be5796981833f49321aa Mon Sep 17 00:00:00 2001 From: Ivan Ilin Date: Tue, 13 Sep 2011 12:45:39 +0300 Subject: [PATCH] fixed bug with capturing a part... on win32 --- src/desktop/UBDesktopAnnotationController.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/desktop/UBDesktopAnnotationController.cpp b/src/desktop/UBDesktopAnnotationController.cpp index a0a79cbd..063359fc 100644 --- a/src/desktop/UBDesktopAnnotationController.cpp +++ b/src/desktop/UBDesktopAnnotationController.cpp @@ -433,7 +433,10 @@ void UBDesktopAnnotationController::customCapture() UBCustomCaptureWindow customCaptureWindow(mDesktopPalette); // need to show the window before execute it to avoid some glitch on windows. + +#ifndef Q_WS_WIN // Working only without this call on win32 desktop mode customCaptureWindow.show(); +#endif if (customCaptureWindow.execute(getScreenPixmap()) == QDialog::Accepted) {