Commit 7da2fcee authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove endl at end of qDebug (it already adds \n)

parent 5203a17c
......@@ -584,12 +584,12 @@ QString KatePluginGDBView::currentWord()
{
KTextEditor::View *kv = m_mainWin->activeView();
if (!kv) {
qDebug() << "no KTextEditor::View" << endl;
qDebug() << "no KTextEditor::View";
return QString();
}
if (!kv->cursorPosition().isValid()) {
qDebug() << "cursor not valid!" << endl;
qDebug() << "cursor not valid!";
return QString();
}
......@@ -619,7 +619,7 @@ QString KatePluginGDBView::currentWord()
endPos++;
}
if (startPos == endPos) {
qDebug() << "no word found!" << endl;
qDebug() << "no word found!";
return QString();
}
......
......@@ -361,7 +361,7 @@ QString KateCTagsView::currentWord()
{
KTextEditor::View *kv = m_mWin->activeView();
if (!kv) {
qCDebug(KTECTAGS) << "no KTextEditor::View" << endl;
qCDebug(KTECTAGS) << "no KTextEditor::View";
return QString();
}
......@@ -370,7 +370,7 @@ QString KateCTagsView::currentWord()
}
if (!kv->cursorPosition().isValid()) {
qCDebug(KTECTAGS) << "cursor not valid!" << endl;
qCDebug(KTECTAGS) << "cursor not valid!";
return QString();
}
......@@ -389,7 +389,7 @@ QString KateCTagsView::currentWord()
endPos++;
}
if (startPos == endPos) {
qCDebug(KTECTAGS) << "no word found!" << endl;
qCDebug(KTECTAGS) << "no word found!";
return QString();
}
......
......@@ -637,7 +637,7 @@ QUrl KateBuildView::docUrl()
{
KTextEditor::View *kv = m_win->activeView();
if (!kv) {
qDebug() << "no KTextEditor::View" << endl;
qDebug() << "no KTextEditor::View";
return QUrl();
}
......
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