diff --git a/addons/close-except-like/close_except_plugin.cpp b/addons/close-except-like/close_except_plugin.cpp --- a/addons/close-except-like/close_except_plugin.cpp +++ b/addons/close-except-like/close_except_plugin.cpp @@ -226,7 +226,7 @@ const QList& docs = KTextEditor::Editor::instance()->application()->documents(); if (docs.size() < 2) { - qDebug() << "No docs r (or the only) opened right now --> disable menu"; + //qDebug() << "No docs r (or the only) opened right now --> disable menu"; m_except_menu->setEnabled(false); m_except_menu->addSeparator(); m_like_menu->setEnabled(false); @@ -248,7 +248,7 @@ doc_paths.insert(KIO::upUrl(document->url())); } paths_set_type paths = doc_paths; - qDebug() << "stage #1: Collected" << paths.size() << "paths and" << masks.size() << "masks"; + //qDebug() << "stage #1: Collected" << paths.size() << "paths and" << masks.size() << "masks"; // Add common paths to the collection for (paths_set_type::iterator it = doc_paths.begin(), last = doc_paths.end(); it != last; ++it) { @@ -269,7 +269,7 @@ } } } - qDebug() << "stage #2: Collected" << paths.size() << "paths and" << masks.size() << "masks"; + //qDebug() << "stage #2: Collected" << paths.size() << "paths and" << masks.size() << "masks"; // updateMenu(paths, masks, m_except_actions, m_except_menu, &CloseExceptPluginView::closeExcept); updateMenu(paths, masks, m_like_actions, m_like_menu, &CloseExceptPluginView::closeLike); @@ -286,7 +286,7 @@ const bool is_path = item[0] != asterisk; const QString mask = is_path ? item.left(item.size() - 1) : item; - qDebug() << "Going to close items [" << close_if_match << "/" << is_path << "]: " << mask; + //qDebug() << "Going to close items [" << close_if_match << "/" << is_path << "]: " << mask; QList docs2close; const QList& docs = KTextEditor::Editor::instance()->application()->documents(); @@ -300,7 +300,7 @@ ; if (match == close_if_match) { - qDebug() << "*** Will close: " << document->url(); + //qDebug() << "*** Will close: " << document->url(); docs2close.push_back(document); } }