mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-16 14:13:37 +02:00
Merge pull request #168 from deltecent/issue167
Display '(MM:SS) Event Name' in delete event dialog Thanks!
This commit is contained in:
commit
173fb6fa2f
@ -377,10 +377,11 @@ void EditClock::deleteData()
|
||||
if(item->text(4).isEmpty()) {
|
||||
return;
|
||||
}
|
||||
str=QString(tr("Are you sure you want to\ndelete"));
|
||||
str=QString(tr("Are you sure you want to delete\n"));
|
||||
if(QMessageBox::question(this,tr("Delete Event"),
|
||||
QString().sprintf("%s \'%s\'?",(const char *)str,
|
||||
(const char *)item->text(3)),
|
||||
QString().sprintf("%s \'(%s) %s\'?",(const char *)str,
|
||||
(const char *)item->text(0),
|
||||
(const char *)item->text(2)),
|
||||
QMessageBox::Yes,QMessageBox::No)!=
|
||||
QMessageBox::Yes) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user