diff --git a/lib/ColorScheme.cpp b/lib/ColorScheme.cpp index e689408d..6af2058c 100644 --- a/lib/ColorScheme.cpp +++ b/lib/ColorScheme.cpp @@ -514,8 +514,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; } diff --git a/lib/TerminalDisplay.cpp b/lib/TerminalDisplay.cpp index f0783735..2fb30894 100644 --- a/lib/TerminalDisplay.cpp +++ b/lib/TerminalDisplay.cpp @@ -1122,11 +1122,6 @@ void TerminalDisplay::updateImage() char *dirtyMask = new char[columnsToUpdate+2]; QRegion dirtyRegion; - // debugging variable, this records the number of lines that are found to - // be 'dirty' ( ie. have changed from the old _image to the new _image ) and - // which therefore need to be repainted - int dirtyLineCount = 0; - for (y = 0; y < linesToUpdate; ++y) { const Character* currentLine = &_image[y*this->_columns]; @@ -1220,8 +1215,6 @@ void TerminalDisplay::updateImage() // then this line must be repainted. if (updateLine) { - dirtyLineCount++; - // add the area occupied by this line to the region which needs to be // repainted QRect dirtyRect = QRect( _leftMargin+tLx ,