Commit 4b3704cc authored by Pino Toscano's avatar Pino Toscano
Browse files

Use KStandardGuiItem::overwrite()

... instead of creating the KGuiItem from scratch
parent 30834f4b
......@@ -2492,7 +2492,7 @@ void Capture::saveSequenceQueue()
i18n( "A file named \"%1\" already exists. "
"Overwrite it?", sequenceURL.fileName() ),
i18n( "Overwrite File?" ),
KGuiItem(i18n( "&Overwrite" )) );
KStandardGuiItem::overwrite() );
if(r==KMessageBox::Cancel) return;
}
}
......
......@@ -3450,7 +3450,7 @@ void Scheduler::save()
i18n( "A file named \"%1\" already exists. "
"Overwrite it?", schedulerURL.fileName() ),
i18n( "Overwrite File?" ),
KGuiItem(i18n( "&Overwrite" )) );
KStandardGuiItem::overwrite() );
if(r==KMessageBox::Cancel) return;
}
}
......
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