[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/desktop/shell
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2010-08-31 23:46:27
Message-ID: 20100831234627.635DEAC857 () svn ! kde ! org
[Download RAW message or body]

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();
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic