Qt Designer: Fix message about file open failure.
authorFriedemann Kleint <Friedemann.Kleint@digia.com>
Wed, 6 Feb 2013 11:21:11 +0000 (12:21 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 6 Feb 2013 13:10:18 +0000 (14:10 +0100)
Change-Id: Ic59e7fc11c9a67546a22901b82681dd75831455a
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
src/designer/src/designer/qdesigner_workbench.cpp

index 38c822e..578d9cc 100644 (file)
@@ -926,7 +926,7 @@ QDesignerFormWindow * QDesignerWorkbench::loadForm(const QString &fileName,
     }
 
     if (!file.open(QFile::ReadOnly|QFile::Text)) {
-        *errorMessage = tr("The file <b>%1</b> could not be opened: %1").arg(file.fileName(), file.errorString());
+        *errorMessage = tr("The file <b>%1</b> could not be opened: %2").arg(file.fileName(), file.errorString());
         return 0;
     }