diff options
Diffstat (limited to 'utils/regtools/qeditor/mainwindow.cpp')
-rw-r--r-- | utils/regtools/qeditor/mainwindow.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/regtools/qeditor/mainwindow.cpp b/utils/regtools/qeditor/mainwindow.cpp index 9cea728d6e..b44306d701 100644 --- a/utils/regtools/qeditor/mainwindow.cpp +++ b/utils/regtools/qeditor/mainwindow.cpp | |||
@@ -161,12 +161,14 @@ void MainWindow::OnQuit() | |||
161 | 161 | ||
162 | void MainWindow::OnAbout() | 162 | void MainWindow::OnAbout() |
163 | { | 163 | { |
164 | QString soc_desc_ver = QString("%1.%2.%3").arg(MAJOR_VERSION) | ||
165 | .arg(MINOR_VERSION).arg(REVISION_VERSION); | ||
164 | QMessageBox::about(this, "About", | 166 | QMessageBox::about(this, "About", |
165 | "<h1>QEditor</h1>" | 167 | "<h1>QEditor</h1>" |
166 | "<h2>Version "APP_VERSION"</h2>" | 168 | "<h2>Version "APP_VERSION"</h2>" |
167 | "<p>Written by Amaury Pouly</p>" | 169 | "<p>Written by Amaury Pouly</p>" |
168 | "<p>Libraries:</p>" | 170 | "<p>Libraries:</p>" |
169 | "<ul><li>soc_desc: "SOCDESC_VERSION"</li>" | 171 | "<ul><li>soc_desc: " + soc_desc_ver + "</li>" |
170 | #ifdef HAVE_HWSTUB | 172 | #ifdef HAVE_HWSTUB |
171 | "<li>hwstub: "HWSTUB_VERSION"</li>" | 173 | "<li>hwstub: "HWSTUB_VERSION"</li>" |
172 | #else | 174 | #else |