Issue 623 fixed

preferencesAboutTextFull
Didier Clerc 12 years ago
parent 72277129ef
commit 9c28370b23
  1. 7
      src/gui/UBScreenMirror.cpp

@ -18,9 +18,10 @@
#include "core/UBSettings.h" #include "core/UBSettings.h"
#include "core/UBSetting.h" #include "core/UBSetting.h"
#include "core/UBApplication.h" #include "core/UBApplication.h"
#include "board/UBBoardController.h"
#include "core/memcheck.h" #include "core/memcheck.h"
UBScreenMirror::UBScreenMirror(QWidget* parent) UBScreenMirror::UBScreenMirror(QWidget* parent)
: QWidget(parent) : QWidget(parent)
, mScreenIndex(0) , mScreenIndex(0)
@ -97,6 +98,8 @@ void UBScreenMirror::setSourceWidget(QWidget *sourceWidget)
void UBScreenMirror::start() void UBScreenMirror::start()
{ {
qDebug() << "mirroring START";
UBApplication::boardController->freezeW3CWidgets(true);
if (mTimerID == 0) if (mTimerID == 0)
{ {
int ms = 125; int ms = 125;
@ -120,6 +123,8 @@ void UBScreenMirror::start()
void UBScreenMirror::stop() void UBScreenMirror::stop()
{ {
qDebug() << "mirroring STOP";
UBApplication::boardController->freezeW3CWidgets(false);
if (mTimerID != 0) if (mTimerID != 0)
{ {
killTimer(mTimerID); killTimer(mTimerID);

Loading…
Cancel
Save