summaryrefslogtreecommitdiff
path: root/src/history.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-08-08 22:56:27 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-08-08 22:56:27 +0200
commit600c2a546b9bb2a93e3dad0e73ad7b303b0ec2dc (patch)
tree8ece96133bab9154ba2a730283e0a3f17c1910ea /src/history.cpp
parentMerge commit 'megabigbug/tabfontsize' (diff)
downloadrekonq-600c2a546b9bb2a93e3dad0e73ad7b303b0ec2dc.tar.xz
RekonqAccessManager (rekonq 0.2 version)
Diffstat (limited to 'src/history.cpp')
-rw-r--r--src/history.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/history.cpp b/src/history.cpp
index 409ac51b..da13b3d0 100644
--- a/src/history.cpp
+++ b/src/history.cpp
@@ -408,9 +408,13 @@ void HistoryManager::save()
if (saveAll)
{
if (historyFile.exists() && !historyFile.remove())
+ {
kWarning() << "History: error removing old history." << historyFile.errorString();
+ }
if (!tempFile.rename(historyFile.fileName()))
+ {
kWarning() << "History: error moving new history over old." << tempFile.errorString() << historyFile.fileName();
+ }
}
m_lastSavedUrl = m_history.value(0).url;
}