Commit 621ea6dd authored by Harald Sitter's avatar Harald Sitter 🏳️‍🌈
Browse files

include the drkonqi version in reports

when looking at odd ball reports that ended up on bugzilla I'm never
quite sure what version let the report get through. in the interest of
actually debugging defects with drkonqi we'll therefore want the drkonqi
version itself. this way it's easier to pin point a version that might
have (e.g.) problems detecting a trace as useless

also has the rather advantageous side effect that drkonqi is part of
plasma so its version will generally be the same as the rest of plasma
giving a sense of what versions are in play when plasma is involved
parent 46948b3a
......@@ -12,6 +12,7 @@
#include <KLocalizedString>
#include "drkonqi.h"
#include "config-drkonqi.h"
#include "bugzillalib.h"
#include "productmapping.h"
#include "systeminformation.h"
......@@ -150,6 +151,7 @@ QString ReportInterface::generateReportFullText(DrKonqiStamp stamp, Backtrace in
report.append(QStringLiteral("Operating System: %1\n").arg(sysInfo->operatingSystem()));
report.append(QStringLiteral("Windowing System: %1\n").arg(sysInfo->windowSystem()));
report.append(QStringLiteral("Drkonqi Version: %1\n").arg(QString::fromLatin1(PROJECT_VERSION)));
//LSB output or manually selected distro
if ( !sysInfo->distributionPrettyName().isEmpty() ) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment