[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [khipu/gsoc2013] src: we dont want autosave files in open recent
From: Punit Mehta <punit9462 () gmail ! com>
Date: 2013-08-31 16:38:35
Message-ID: E1VFoC3-0004e0-Dp () scm ! kde ! org
[Download RAW message or body]
Git commit d2885f25dc9b410320a524e198577a2f4d4aaac0 by Punit Mehta.
Committed on 31/08/2013 at 16:38.
Pushed by mehtapunit into branch 'gsoc2013'.
we dont want autosave files in open recent
M +2 -2 src/mainwindow.cpp
http://commits.kde.org/khipu/d2885f25dc9b410320a524e198577a2f4d4aaac0
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 3767273..71483a6 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -661,8 +661,8 @@ bool MainWindow::openFile(const KUrl &url)
{
QString path=url.toLocalFile();
// not , current autosave !
- // if(!path.contains(".khipu.autosave")) {
- setCurrentFile(path);
+ if(!path.contains(".khipu.autosave"))
+ setCurrentFile(path);
m_fileLocation=path; // this allows user to save the other work in the file \
which he/she has just opened. changeTitleBar(path);
//}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic