examples/sql/masterdetail/mainwindow.cpp
changeset 37 758a864f9613
parent 30 5dc02b23752f
--- a/examples/sql/masterdetail/mainwindow.cpp	Fri Sep 17 08:34:18 2010 +0300
+++ b/examples/sql/masterdetail/mainwindow.cpp	Mon Oct 04 01:19:32 2010 +0300
@@ -189,9 +189,9 @@
 
         QMessageBox::StandardButton button;
         button = QMessageBox::question(this, tr("Delete Album"),
-                                       QString(tr("Are you sure you want to " \
-                                                  "delete '%1' by '%2'?"))
-                                              .arg(title).arg(artist),
+                                       tr("Are you sure you want to "
+                                          "delete '%1' by '%2'?")
+                                       .arg(title, artist),
                                        QMessageBox::Yes | QMessageBox::No);
 
         if (button == QMessageBox::Yes) {