Commit f427e8fb authored by Jan Möbius's avatar Jan Möbius

Removed debug code

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10088 383ad7c9-94d9-4d36-a494-682f7c89f535
parent a5ddce73
......@@ -73,8 +73,6 @@
#include "QtSlideWindow.hh"
#include "QtGraphicsButton.hh"
#include <iostream>
//== IMPLEMENTATION ==========================================================
......@@ -360,21 +358,17 @@ void QtSlideWindow::autohidePressed ()
void QtSlideWindow::updateGeometry ()
{
std::cerr << "SlideWindow update geometry" << std::endl;
if (parentWidget () && widget ())
{
setPos (8, parentWidget ()->geometry ().height () - geometry ().height ());
std::cerr << "Logger got new pos 1 : " << pos().x() << "," << pos().y() << std::endl;
resize (parentWidget ()->geometry ().width () - 20,
widget ()->size ().height ());
if (autohideButton_) {
autohideButton_->setPos (geometry().width() - 12, -13);
std::cerr << "Logger got new pos autohide : " << pos().x() << "," << pos().y() << std::endl;
}
if (detachButton_) {
detachButton_->setPos (geometry().width() - 25, -13);
std::cerr << "Logger got new pos detach: " << pos().x() << "," << pos().y() << std::endl;
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment