Add a buttonCancel parameter to all KMessageBox::*cancel* functions.

svn path=/trunk/KDE/kdemultimedia/juk/; revision=648781
parent 5c1f9da1
...@@ -2281,6 +2281,7 @@ void Playlist::slotInlineEditDone(Q3ListViewItem *, const QString &, int column) ...@@ -2281,6 +2281,7 @@ void Playlist::slotInlineEditDone(Q3ListViewItem *, const QString &, int column)
i18n("This will edit multiple files. Are you sure?"), i18n("This will edit multiple files. Are you sure?"),
QString::null, QString::null,
KGuiItem(i18n("Edit")), KGuiItem(i18n("Edit")),
KStandardGuiItem::cancel(),
"DontWarnMultipleTags") == KMessageBox::Cancel)) "DontWarnMultipleTags") == KMessageBox::Cancel))
{ {
return; return;
......
...@@ -56,6 +56,7 @@ void TreeViewItemPlaylist::retag(const QStringList &files, Playlist *) ...@@ -56,6 +56,7 @@ void TreeViewItemPlaylist::retag(const QStringList &files, Playlist *)
files, files,
i18n("Changing Track Tags"), i18n("Changing Track Tags"),
KStandardGuiItem::cont(), KStandardGuiItem::cont(),
KStandardGuiItem::cancel(),
"dragDropRetagWarn" "dragDropRetagWarn"
) == KMessageBox::Cancel) ) == KMessageBox::Cancel)
{ {
......
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