[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE_3_2_BRANCH: kdepim/knotes
From: Lukáš Tinkl <lukas () kde ! org>
Date: 2004-02-10 13:04:01
Message-ID: 20040210130401.341289959 () office ! kde ! org
[Download RAW message or body]
CVS commit by lukas:
cvs -f diff -kk -bp -u -r1.65 -r1.65.4.1 knotesapp.cpp | patch -p0 -R
doesn't crash anymore (this should be forward ported to HEAD)
CCMAIL: bo@sonofthor.dk, montel@kde.org, 74558-done@bugs.kde.org
M +1 -3 knotesapp.cpp 1.65.4.2
--- kdepim/knotes/knotesapp.cpp #1.65.4.1:1.65.4.2
@@ -481,6 +481,4 @@ void KNotesApp::saveConfig()
void KNotesApp::saveNotes()
{
- ICalFormat format;
-
QString file = KGlobal::dirs()->saveLocation( "appdata" ) + "notes.ics";
QString backup = file + "~";
@@ -492,5 +490,5 @@ void KNotesApp::saveNotes()
KMessageBox::error(0, i18n("<qt>Unable to save the notes backup to \
<b>%1</b>! Check that there is sufficient disk space.</qt>")
.arg( backup ) );
- else if ( !m_calendar.save( file, &format ) )
+ else if ( !m_calendar.save( file, new ICalFormat() ) )
KMessageBox::error(0, i18n("<qt>Unable to save the notes to <b>%1</b>! Check \
that there is sufficient disk space.<br>"
"There should be a backup in <b>%2</b> \
though.</qt>")
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic