diff --git a/src/Profile.cpp b/src/Profile.cpp index fbf4bc3b1..1fcaf671d 100644 --- a/src/Profile.cpp +++ b/src/Profile.cpp @@ -410,7 +410,7 @@ bool KDE3ProfileReader::readProfile(const QString& path , Profile::Ptr profile , return false; // KDE 3 profiles do not have parents - parentProfile = QString(); + parentProfile.clear(); KDesktopFile* desktopFile = new KDesktopFile(path); KConfigGroup* config = new KConfigGroup( desktopFile->desktopGroup() ); diff --git a/src/TerminalDisplay.cpp b/src/TerminalDisplay.cpp index f50228a78..8ef1207ff 100644 --- a/src/TerminalDisplay.cpp +++ b/src/TerminalDisplay.cpp @@ -770,8 +770,8 @@ void TerminalDisplay::setCursorPos(const int curx, const int cury) void TerminalDisplay::scrollImage(int lines , const QRect& screenWindowRegion) { // if the flow control warning is enabled this will interfere with the - // scrolling optimisations and cause artifacts. the simple solution here - // is to just disable the optimisation whilst it is visible + // scrolling optimizations and cause artifacts. the simple solution here + // is to just disable the optimization whilst it is visible if ( _outputSuspendedLabel && _outputSuspendedLabel->isVisible() ) return;