aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--utils/alsoft-config/mainwindow.cpp2
-rw-r--r--utils/alsoft-config/verstr.cpp4
-rw-r--r--utils/alsoft-config/verstr.h4
3 files changed, 6 insertions, 4 deletions
diff --git a/utils/alsoft-config/mainwindow.cpp b/utils/alsoft-config/mainwindow.cpp
index c0c0e1e5..aa0df438 100644
--- a/utils/alsoft-config/mainwindow.cpp
+++ b/utils/alsoft-config/mainwindow.cpp
@@ -504,7 +504,7 @@ void MainWindow::showAboutPage()
{
QMessageBox::information(this, tr("About"),
tr("OpenAL Soft Configuration Utility.\nBuilt for OpenAL Soft library version ") +
- tr(GetVersionString()));
+ GetVersionString());
}
diff --git a/utils/alsoft-config/verstr.cpp b/utils/alsoft-config/verstr.cpp
index b2fd0a17..42b1aeac 100644
--- a/utils/alsoft-config/verstr.cpp
+++ b/utils/alsoft-config/verstr.cpp
@@ -4,7 +4,7 @@
#include "version.h"
-const char *GetVersionString()
+QString GetVersionString()
{
- return ALSOFT_VERSION "-" ALSOFT_GIT_COMMIT_HASH " (" ALSOFT_GIT_BRANCH " branch).";
+ return QStringLiteral(ALSOFT_VERSION "-" ALSOFT_GIT_COMMIT_HASH " (" ALSOFT_GIT_BRANCH " branch).");
}
diff --git a/utils/alsoft-config/verstr.h b/utils/alsoft-config/verstr.h
index a97f0895..73e3ecbd 100644
--- a/utils/alsoft-config/verstr.h
+++ b/utils/alsoft-config/verstr.h
@@ -1,6 +1,8 @@
#ifndef VERSTR_H
#define VERSTR_H
-const char *GetVersionString();
+#include <QString>
+
+QString GetVersionString();
#endif /* VERSTR_H */