From 600c2a546b9bb2a93e3dad0e73ad7b303b0ec2dc Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sat, 8 Aug 2009 22:56:27 +0200 Subject: RekonqAccessManager (rekonq 0.2 version) --- src/history.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/history.cpp') 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; } -- cgit v1.2.1