diff --git a/gui/cppcheck_de.ts b/gui/cppcheck_de.ts
index 4129bd777..9e28aaf2b 100644
--- a/gui/cppcheck_de.ts
+++ b/gui/cppcheck_de.ts
@@ -427,6 +427,7 @@ Stop the checking before exiting.
+
@@ -435,6 +436,11 @@ Stop the checking before exiting.
+
+
+
+
+
@@ -471,6 +477,25 @@ Stop the checking before exiting.
+
+ Project
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
ProjectFile
@@ -492,29 +517,8 @@ Stop the checking before exiting.
ProjectFileDialog
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
diff --git a/gui/cppcheck_en.ts b/gui/cppcheck_en.ts
index 53656f162..c42a0f1e1 100644
--- a/gui/cppcheck_en.ts
+++ b/gui/cppcheck_en.ts
@@ -444,6 +444,7 @@ Stop the checking before exiting.
+
@@ -452,6 +453,11 @@ Stop the checking before exiting.
+
+
+
+
+
@@ -488,6 +494,25 @@ Stop the checking before exiting.
Polish
+
+ Project
+
+
+
+
+ Cppcheck
+
+
+
+
+
+
+
+
+
+
+
+
ProjectFile
@@ -509,29 +534,8 @@ Stop the checking before exiting.
ProjectFileDialog
-
-
-
- Cppcheck
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
diff --git a/gui/cppcheck_fi.ts b/gui/cppcheck_fi.ts
index d19352a1d..1e45bf547 100644
--- a/gui/cppcheck_fi.ts
+++ b/gui/cppcheck_fi.ts
@@ -448,6 +448,7 @@ Lopeta tarkistus ennen ohjelman sammuttamista.
+
@@ -456,6 +457,11 @@ Lopeta tarkistus ennen ohjelman sammuttamista.
+
+
+
+
+
@@ -492,6 +498,25 @@ Lopeta tarkistus ennen ohjelman sammuttamista.
Puola
+
+ Project
+
+
+
+
+ Cppcheck
+
+
+
+
+
+
+
+
+
+
+
+
ProjectFile
@@ -513,29 +538,8 @@ Lopeta tarkistus ennen ohjelman sammuttamista.
ProjectFileDialog
-
-
-
- Cppcheck
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
diff --git a/gui/cppcheck_nl.ts b/gui/cppcheck_nl.ts
index 4ebc546b7..822e4ec5e 100644
--- a/gui/cppcheck_nl.ts
+++ b/gui/cppcheck_nl.ts
@@ -444,6 +444,7 @@ Stop de controle alvorens te sluiten.
+
@@ -452,6 +453,11 @@ Stop de controle alvorens te sluiten.
+
+
+
+
+
@@ -488,6 +494,25 @@ Stop de controle alvorens te sluiten.
Pools
+
+ Project
+
+
+
+
+ Cppcheck
+
+
+
+
+
+
+
+
+
+
+
+
ProjectFile
@@ -509,29 +534,8 @@ Stop de controle alvorens te sluiten.
ProjectFileDialog
-
-
-
- Cppcheck
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
diff --git a/gui/cppcheck_pl.ts b/gui/cppcheck_pl.ts
index 58af71706..328fbeed8 100644
--- a/gui/cppcheck_pl.ts
+++ b/gui/cppcheck_pl.ts
@@ -392,6 +392,11 @@ Stop the checking before exiting.
+
+
+
+
+
@@ -424,6 +429,7 @@ Stop the checking before exiting.
+
@@ -468,6 +474,25 @@ Stop the checking before exiting.
+
+ Project
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
ProjectFile
@@ -489,29 +514,8 @@ Stop the checking before exiting.
ProjectFileDialog
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
diff --git a/gui/cppcheck_ru.ts b/gui/cppcheck_ru.ts
index 28585f797..02c1f88c0 100644
--- a/gui/cppcheck_ru.ts
+++ b/gui/cppcheck_ru.ts
@@ -434,6 +434,7 @@ Stop the checking before exiting.
+
@@ -442,6 +443,11 @@ Stop the checking before exiting.
+
+
+
+
+
@@ -478,6 +484,25 @@ Stop the checking before exiting.
+
+ Project
+
+
+
+
+ Cppcheck
+
+
+
+
+
+
+
+
+
+
+
+
ProjectFile
@@ -499,29 +524,8 @@ Stop the checking before exiting.
ProjectFileDialog
-
-
-
- Cppcheck
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
diff --git a/gui/cppcheck_se.ts b/gui/cppcheck_se.ts
index 6181f7f0b..f1e6f87e7 100644
--- a/gui/cppcheck_se.ts
+++ b/gui/cppcheck_se.ts
@@ -445,6 +445,7 @@ Stop the checking before exiting.
+
@@ -453,6 +454,11 @@ Stop the checking before exiting.
+
+
+
+
+
@@ -489,6 +495,25 @@ Stop the checking before exiting.
Polska
+
+ Project
+
+
+
+
+ Cppcheck
+
+
+
+
+
+
+
+
+
+
+
+
ProjectFile
@@ -510,29 +535,8 @@ Stop the checking before exiting.
ProjectFileDialog
-
-
-
- Cppcheck
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
diff --git a/gui/projectfiledialog.cpp b/gui/projectfiledialog.cpp
index 0b5998f3c..f9cd6fad5 100644
--- a/gui/projectfiledialog.cpp
+++ b/gui/projectfiledialog.cpp
@@ -17,6 +17,7 @@
*/
#include
+#include
#include "projectfiledialog.h"
ProjectFileDialog::ProjectFileDialog(const QString &path, QWidget *parent)
@@ -24,6 +25,11 @@ ProjectFileDialog::ProjectFileDialog(const QString &path, QWidget *parent)
{
mUI.setupUi(this);
+ QFileInfo inf(path);
+ QString filename = inf.fileName();
+ QString title = tr("Project file: %1").arg(filename);
+ setWindowTitle(title);
+
connect(mUI.mButtons, SIGNAL(accepted()), this, SLOT(accept()));
}