SVN commit 1170452 by aseigo: tidy M +3 -3 interactiveconsole.cpp --- trunk/KDE/kdebase/workspace/plasma/desktop/shell/interactiveconsole.cpp #1170451:1170452 @@ -219,7 +219,7 @@ // need to save first! const QString path = KStandardDirs::locateLocal("appdata", s_autosaveFileName); m_closeWhenCompleted = true; - saveScript(path, true); + saveScript(path); } void InteractiveConsole::print(const QString &string) @@ -370,7 +370,7 @@ saveScript(url); } -void InteractiveConsole::saveScript(const KUrl &url, bool autosave) +void InteractiveConsole::saveScript(const KUrl &url) { if (m_editorPart) { m_editorPart->saveAs(url); @@ -414,7 +414,7 @@ { //kDebug() << "evaluating" << m_editor->toPlainText(); const QString path = KStandardDirs::locateLocal("appdata", s_autosaveFileName); - saveScript(path, true); + saveScript(path); m_output->moveCursor(QTextCursor::End); QTextCursor cursor = m_output->textCursor();