TextEditor: Remove left-over qDebugs()

Change-Id: Ia5277b1eb40d35c59b2de09c88b44b180375a64f
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Nikolai Kosjar
2018-01-17 08:41:04 +01:00
parent 351f355b69
commit 2765409d2b

View File

@@ -309,7 +309,6 @@ public:
const int documentRevision = textCursor.document()->revision(); const int documentRevision = textCursor.document()->revision();
const int position = Text::wordStartCursor(textCursor).position(); const int position = Text::wordStartCursor(textCursor).position();
if (m_lastHandlerInfo.applies(documentRevision, position)) { if (m_lastHandlerInfo.applies(documentRevision, position)) {
qDebug() << "Last handler applies, showing it";
m_lastHandlerInfo.handler->showToolTip(m_widget, point, /*decorate=*/ false); m_lastHandlerInfo.handler->showToolTip(m_widget, point, /*decorate=*/ false);
return; return;
} }
@@ -365,7 +364,6 @@ public:
// All were queried, run the best // All were queried, run the best
if (m_bestHandler) { if (m_bestHandler) {
qDebug() << "setting last handler info:" << m_documentRevision << m_position;
m_lastHandlerInfo = LastHandlerInfo(m_bestHandler, m_documentRevision, m_position); m_lastHandlerInfo = LastHandlerInfo(m_bestHandler, m_documentRevision, m_position);
m_bestHandler->showToolTip(m_widget, m_point); m_bestHandler->showToolTip(m_widget, m_point);
} }