summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/widget_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/widget_utils.cpp')
-rw-r--r--umbrello/umbrello/widget_utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/umbrello/umbrello/widget_utils.cpp b/umbrello/umbrello/widget_utils.cpp
index eeb51956..bc9226dd 100644
--- a/umbrello/umbrello/widget_utils.cpp
+++ b/umbrello/umbrello/widget_utils.cpp
@@ -14,7 +14,7 @@
// qt/kde includes
#include <tqcanvas.h>
-#include <tqbrush.h>
+#include <brush.h>
#include <tqpen.h>
#include <kiconloader.h>
#include <kdebug.h>
@@ -101,7 +101,7 @@ TQCanvasRectangle *decoratePoint(const TQPoint& p) {
SIZE, SIZE, currentView->canvas());
rect->setBrush( TQBrush(TQt::blue) );
rect->setPen( TQPen(TQt::blue) );
- rect->tqsetVisible(true);
+ rect->setVisible(true);
return rect;
}