|
|
@ -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) |
|
|
|
{ |
|
|
|
{ |
|
|
|