Commit 9b4a11b8 authored by Jan Möbius's avatar Jan Möbius

Debuggin code for tracing bug

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11557 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 1228ac06
......@@ -76,7 +76,6 @@
#include "QtPickToolbar.hh"
#include "QtGraphicsButton.hh"
#include <iostream>
//== IMPLEMENTATION ==========================================================
......@@ -135,12 +134,9 @@ void QtPickToolbar::paintWindowFrame(QPainter *_painter,
const QStyleOptionGraphicsItem* /*_option*/,
QWidget* /*_widget*/ )
{
int w = geometry().width();
int h = geometry().height();
std::cerr << "paintWindowFrame at " << w << " " << h << std::endl;
_painter->setRenderHint(QPainter::Antialiasing, true);
_painter->setBrush(QBrush(QColor(BACKGROUND_RED,
BACKGROUND_GREEN,
......@@ -168,9 +164,6 @@ Qt::WindowFrameSection QtPickToolbar::windowFrameSectionAt(const QPointF &/*_pos
void QtPickToolbar::updateGeometry ()
{
std::cerr << "updateGeometry" << std::endl;
if (parentWidget () && widget ())
{
resize (qMin ((int)parentWidget ()->geometry ().width () - 20, widget ()->sizeHint ().width ()),
......
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