summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 3a94ae27..db6bf843 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -183,6 +183,10 @@ extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
Application app;
+ // set application data
+ QCoreApplication::setApplicationName(QL1S("rekonq"));
+ QCoreApplication::setApplicationVersion(REKONQ_VERSION);
+
if (app.isSessionRestored())
for (int i = 1; MainWindow::canBeRestored(i); i++)
app.newMainWindow(false)->restore(i);