From 96cd037bb38928c853ce489e29d1b0925e2550c8 Mon Sep 17 00:00:00 2001 From: Claudio Valerio Date: Mon, 24 Sep 2012 09:45:39 +0200 Subject: [PATCH] removed debugs texts --- src/gui/UBTeacherGuideWidgetsTools.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gui/UBTeacherGuideWidgetsTools.cpp b/src/gui/UBTeacherGuideWidgetsTools.cpp index 0a6a0121..db2d8bf7 100644 --- a/src/gui/UBTeacherGuideWidgetsTools.cpp +++ b/src/gui/UBTeacherGuideWidgetsTools.cpp @@ -230,10 +230,8 @@ void UBTGAdaptableText::bottomMargin(int newValue) void UBTGAdaptableText::focusInEvent(QFocusEvent* e) { - qDebug() << "pippa"; if(isReadOnly()){ e->ignore(); - qDebug() << "ignored"; } managePlaceholder(true); QTextEdit::focusInEvent(e); @@ -247,7 +245,6 @@ void UBTGAdaptableText::focusOutEvent(QFocusEvent* e){ void UBTGAdaptableText::managePlaceholder(bool focus){ if(focus){ if(toPlainText() == mPlaceHolderText){ - qDebug() << "Place holder found"; setTextColor(QColor(Qt::black)); setPlainText(""); }