fixed bug with capturing a part... on win32

preferencesAboutTextFull
Ivan Ilin 13 years ago
parent 48a3ef4e61
commit 5a4ba69c6e
  1. 3
      src/desktop/UBDesktopAnnotationController.cpp

@ -433,7 +433,10 @@ void UBDesktopAnnotationController::customCapture()
UBCustomCaptureWindow customCaptureWindow(mDesktopPalette); UBCustomCaptureWindow customCaptureWindow(mDesktopPalette);
// need to show the window before execute it to avoid some glitch on windows. // 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(); customCaptureWindow.show();
#endif
if (customCaptureWindow.execute(getScreenPixmap()) == QDialog::Accepted) if (customCaptureWindow.execute(getScreenPixmap()) == QDialog::Accepted)
{ {

Loading…
Cancel
Save