diff --git a/lib/ColorScheme.cpp b/lib/ColorScheme.cpp index aebb638..d85c52c 100644 --- a/lib/ColorScheme.cpp +++ b/lib/ColorScheme.cpp @@ -594,7 +594,7 @@ ColorSchemeManager::~ColorSchemeManager() } void ColorSchemeManager::loadAllColorSchemes() { - qDebug() << "loadAllColorSchemes"; + //qDebug() << "loadAllColorSchemes"; int failed = 0; QList nativeColorSchemes = listColorSchemes(); @@ -613,8 +613,8 @@ void ColorSchemeManager::loadAllColorSchemes() failed++; } - if ( failed > 0 ) - qDebug() << "failed to load " << failed << " color schemes."; + /*if ( failed > 0 ) + qDebug() << "failed to load " << failed << " color schemes.";*/ _haveLoadedAll = true; } @@ -640,7 +640,7 @@ bool ColorSchemeManager::loadKDE3ColorScheme(const QString& filePath) if (scheme->name().isEmpty()) { - qDebug() << "color scheme name is not valid."; + //qDebug() << "color scheme name is not valid."; delete scheme; return false; } @@ -651,8 +651,8 @@ bool ColorSchemeManager::loadKDE3ColorScheme(const QString& filePath) _colorSchemes.insert(scheme->name(),scheme); else { - qDebug() << "color scheme with name" << scheme->name() << "has already been" << - "found, ignoring."; + /*qDebug() << "color scheme with name" << scheme->name() << "has already been" << + "found, ignoring.";*/ delete scheme; } @@ -701,7 +701,7 @@ bool ColorSchemeManager::loadColorScheme(const QString& filePath) if (scheme->name().isEmpty()) { - qDebug() << "Color scheme in" << filePath << "does not have a valid name and was not loaded."; + //qDebug() << "Color scheme in" << filePath << "does not have a valid name and was not loaded."; delete scheme; return false; } @@ -712,8 +712,8 @@ bool ColorSchemeManager::loadColorScheme(const QString& filePath) } else { - qDebug() << "color scheme with name" << schemeName << "has already been" << - "found, ignoring."; + /*qDebug() << "color scheme with name" << schemeName << "has already been" << + "found, ignoring.";*/ delete scheme; } @@ -777,7 +777,7 @@ bool ColorSchemeManager::deleteColorScheme(const QString& name) } else { - qDebug() << "Failed to remove color scheme -" << path; + //qDebug() << "Failed to remove color scheme -" << path; return false; } } @@ -819,7 +819,7 @@ const ColorScheme* ColorSchemeManager::findColorScheme(const QString& name) return findColorScheme(name); } - qDebug() << "Could not find color scheme - " << name; + //qDebug() << "Could not find color scheme - " << name; return nullptr; } diff --git a/lib/qtermwidget.cpp b/lib/qtermwidget.cpp index ea515ac..9a9c41d 100644 --- a/lib/qtermwidget.cpp +++ b/lib/qtermwidget.cpp @@ -164,8 +164,8 @@ void QTermWidget::search(bool forwards, bool next) m_impl->m_terminalDisplay->screenWindow()->screen()->getSelectionStart(startColumn, startLine); } - qDebug() << "current selection starts at: " << startColumn << startLine; - qDebug() << "current cursor position: " << m_impl->m_terminalDisplay->screenWindow()->cursorPosition(); + //qDebug() << "current selection starts at: " << startColumn << startLine; + //qDebug() << "current cursor position: " << m_impl->m_terminalDisplay->screenWindow()->cursorPosition(); QRegExp regExp(m_searchBar->searchText()); regExp.setPatternSyntax(m_searchBar->useRegularExpression() ? QRegExp::RegExp : QRegExp::FixedString); @@ -183,7 +183,7 @@ void QTermWidget::search(bool forwards, bool next) void QTermWidget::matchFound(int startColumn, int startLine, int endColumn, int endLine) { ScreenWindow* sw = m_impl->m_terminalDisplay->screenWindow(); - qDebug() << "Scroll to" << startLine; + //qDebug() << "Scroll to" << startLine; sw->scrollTo(startLine); sw->setTrackOutput(false); sw->notifyOutputChanged(); @@ -277,10 +277,10 @@ void QTermWidget::init(int startnow) m_translator = new QTranslator(this); for (const QString& dir : dirs) { - qDebug() << "Trying to load translation file from dir" << dir; + //qDebug() << "Trying to load translation file from dir" << dir; if (m_translator->load(QLocale::system(), QLatin1String("qtermwidget"), QLatin1String(QLatin1String("_")), dir)) { qApp->installTranslator(m_translator); - qDebug() << "Translations found in" << dir; + //qDebug() << "Translations found in" << dir; break; } } diff --git a/lib/tools.cpp b/lib/tools.cpp index 055bc30..105b730 100644 --- a/lib/tools.cpp +++ b/lib/tools.cpp @@ -17,7 +17,7 @@ QString get_kb_layout_dir() QString k(QLatin1String(KB_LAYOUT_DIR)); QDir d(k); - qDebug() << "default KB_LAYOUT_DIR: " << k; + //qDebug() << "default KB_LAYOUT_DIR: " << k; if (d.exists()) { @@ -35,7 +35,7 @@ QString get_kb_layout_dir() if (d.exists()) return QCoreApplication::applicationDirPath() + "/../Resources/kb-layouts/"; #endif - qDebug() << "Cannot find KB_LAYOUT_DIR. Default:" << k; + //qDebug() << "Cannot find KB_LAYOUT_DIR. Default:" << k; return QString(); }