Commit 8eed9c76 authored by David Jarvie's avatar David Jarvie
Browse files

Don't update calendar format if user says not to.

parent 52023704
......@@ -326,7 +326,7 @@ bool CalendarUpdater::update()
QString versionString = KAlarm::getVersionString(compatAttr->version());
QString msg = KAlarm::Calendar::conversionPrompt(mCollection.name(), versionString, false);
kDebug() << "Version" << versionString;
if (KAMessageBox::warningYesNo(qobject_cast<QWidget*>(mParent), msg))
if (KAMessageBox::warningYesNo(qobject_cast<QWidget*>(mParent), msg) == KMessageBox::Yes)
{
// Tell the resource to update the backend storage format
QString errmsg;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment