Replaced std:cout based debug output with qDebug()

This commit is contained in:
Uwe Kindler
2017-03-28 12:01:27 +02:00
parent aa8a52b845
commit 9af86c4136
13 changed files with 137 additions and 103 deletions

View File

@@ -34,8 +34,6 @@
#include <QtGlobal>
#include <QDebug>
#include <iostream>
#include "DockAreaWidget.h"
namespace ads
@@ -314,12 +312,10 @@ DockWidgetArea CDockOverlay::showOverlay(QWidget* target)
{
if (d->TargetWidget == target)
{
qInfo() << "_target == target";
// Hint: We could update geometry of overlay here.
DockWidgetArea da = dropAreaUnderCursor();
if (da != d->LastLocation)
{
qInfo() << "repaint()";
repaint();
d->LastLocation = da;
}
@@ -342,7 +338,6 @@ DockWidgetArea CDockOverlay::showOverlay(QWidget* target)
//============================================================================
void CDockOverlay::hideOverlay()
{
qInfo() << "hideDockOverlay() _fullAreaDrop = false";
hide();
d->TargetWidget.clear();
d->TargetRect = QRect();