[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdegraphics/kolourpaint/tools/selection (silent)
From: Clarence Dang <dang () kde ! org>
Date: 2007-10-08 2:08:11
Message-ID: 1191809291.354806.12542.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 722743 by dang:
SVN_SILENT +debug
M +11 -1 kpAbstractSelectionTool.cpp
--- trunk/KDE/kdegraphics/kolourpaint/tools/selection/kpAbstractSelectionTool.cpp #722742:722743
@@ -405,7 +405,7 @@
// public virtual [base kpTool]
void kpAbstractSelectionTool::hover (const QPoint &point)
{
-#if DEBUG_KP_TOOL_SELECTION && 0
+#if DEBUG_KP_TOOL_SELECTION && 1
kDebug () << "kpAbstractSelectionTool::hover" << point << endl;
#endif
@@ -501,17 +501,27 @@
// protected
void kpAbstractSelectionTool::popupRMBMenu ()
{
+#if DEBUG_KP_TOOL_SELECTION
+ kDebug () << "CALL - exec'ing menu";
+#endif
+
QMenu *pop = environ ()->selectionToolRMBMenu ();
Q_ASSERT (pop);
// Blocks until the menu closes.
// WARNING: Enters event loop - may re-enter view/tool event handlers.
pop->exec (QCursor::pos ());
+#if DEBUG_KP_TOOL_SELECTION
+ kDebug () << "calling somethingBelowTheCursorChanged()";
+#endif
// Cursor may have moved while the menu was up, triggering QMouseMoveEvents
// for the menu -- but not the view -- so we may have missed cursor moves.
// Update cursor position now.
somethingBelowTheCursorChanged ();
+#if DEBUG_KP_TOOL_SELECTION
+ kDebug () << "DONE";
+#endif
}
// public virtual [base kpTool]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic