From 9c28370b23db835175a9ece4dfbf37fa419e0ab9 Mon Sep 17 00:00:00 2001 From: Didier Clerc Date: Mon, 6 Aug 2012 14:05:25 +0200 Subject: [PATCH] Issue 623 fixed --- src/gui/UBScreenMirror.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/gui/UBScreenMirror.cpp b/src/gui/UBScreenMirror.cpp index d98debde..542cb1f1 100644 --- a/src/gui/UBScreenMirror.cpp +++ b/src/gui/UBScreenMirror.cpp @@ -18,9 +18,10 @@ #include "core/UBSettings.h" #include "core/UBSetting.h" #include "core/UBApplication.h" - +#include "board/UBBoardController.h" #include "core/memcheck.h" + UBScreenMirror::UBScreenMirror(QWidget* parent) : QWidget(parent) , mScreenIndex(0) @@ -97,6 +98,8 @@ void UBScreenMirror::setSourceWidget(QWidget *sourceWidget) void UBScreenMirror::start() { + qDebug() << "mirroring START"; + UBApplication::boardController->freezeW3CWidgets(true); if (mTimerID == 0) { int ms = 125; @@ -120,6 +123,8 @@ void UBScreenMirror::start() void UBScreenMirror::stop() { + qDebug() << "mirroring STOP"; + UBApplication::boardController->freezeW3CWidgets(false); if (mTimerID != 0) { killTimer(mTimerID);