diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-06-08 01:25:18 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-06-08 01:25:18 +0200 |
commit | 1c3875353c2be223af4d78b57a774d61218742ee (patch) | |
tree | fe43c4e0525c9143a5db73e35e37ac3e4f019c0d | |
parent | rekonq 0.9.62 (diff) | |
download | rekonq-1c3875353c2be223af4d78b57a774d61218742ee.tar.xz |
Add rekonq version to default user agent string
BUG: 293298
-rw-r--r-- | src/main.cpp | 4 |
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); |