Implemented proper updating of floating widget title

This commit is contained in:
Uwe Kindler
2018-10-30 23:45:59 +01:00
parent 81523b0346
commit 6617cf6f19
11 changed files with 67 additions and 31 deletions

View File

@@ -136,7 +136,6 @@ void CDockAreaTabBar::wheelEvent(QWheelEvent* Event)
//============================================================================
void CDockAreaTabBar::mousePressEvent(QMouseEvent* ev)
{
std::cout << "CDockAreaTabBar::mousePressEvent" << std::endl;
if (ev->button() == Qt::LeftButton)
{
ev->accept();
@@ -232,7 +231,6 @@ void CDockAreaTabBar::startFloating(const QPoint& Pos)
//============================================================================
void CDockAreaTabBar::setCurrentIndex(int index)
{
std::cout << "CDockAreaTabBar::setCurrentIndex " << index << std::endl;
if (index == d->CurrentIndex)
{
return;