Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SDK
Umbrello
Commits
3405bbfb
Commit
3405bbfb
authored
Jun 16, 2014
by
Oliver Kellogg
Browse files
umbrello/widgets/umlwidget.cpp
- In function onWidget() comment out uDebug() calls.
parent
5c76aaff
Changes
1
Hide whitespace changes
Inline
Side-by-side
umbrello/widgets/umlwidget.cpp
View file @
3405bbfb
...
...
@@ -1149,14 +1149,15 @@ UMLWidget* UMLWidget::onWidget(const QPointF &p)
const
qreal
right
=
left
+
w
;
const
qreal
top
=
y
();
const
qreal
bottom
=
top
+
h
;
uDebug
()
<<
"p=("
<<
p
.
x
()
<<
","
<<
p
.
y
()
<<
"), x="
<<
left
<<
", y="
<<
top
<<
", w="
<<
w
<<
", h="
<<
h
<<
"; right="
<<
right
<<
", bottom="
<<
bottom
;
// uDebug() << "p=(" << p.x() << "," << p.y()
// << "), x=" << left << ", y=" << top << ", w=" << w << ", h=" << h
// << "; right=" << right << ", bottom=" << bottom;
if
(
p
.
x
()
<
left
||
p
.
x
()
>
right
||
p
.
y
()
<
top
||
p
.
y
()
>
bottom
)
{
// Qt coord.sys. origin in top left corner
uDebug
()
<<
"returning NULL"
;
//
uDebug() << "returning NULL";
return
NULL
;
}
uDebug
()
<<
"returning this"
;
//
uDebug() << "returning this";
return
this
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment