Commit cc03738b authored by David Jarvie's avatar David Jarvie
Browse files

Merge commit '37ad589bf867c0187c3629a7cd41051e7b224371'

parents ee657606 7e3711b1
/*
* editdlgtypes.cpp - dialogs to create or edit alarm or alarm template types
* Program: kalarm
* Copyright © 2001-2012 by David Jarvie <djarvie@kde.org>
* Copyright © 2001-2014 by David Jarvie <djarvie@kde.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......@@ -1551,7 +1551,8 @@ void EditAudioAlarmDlg::type_initValues(const KAEvent* event)
else
{
// Set the values to their defaults
mSoundConfig->set(Preferences::defaultSoundFile(), Preferences::defaultSoundVolume());
mSoundConfig->set(Preferences::defaultSoundFile(), Preferences::defaultSoundVolume(),
-1, 0, (Preferences::defaultSoundRepeat() ? 0 : -1));
}
}
......
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