File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1111#include < QProcess>
1212#include < QStandardPaths>
1313#include < QThread>
14+ #include < qstringliteral.h>
1415
1516#include < KShell>
1617#include < KUser>
@@ -156,7 +157,7 @@ RecordHost::RecordHost(QObject* parent)
156157 connectIsReady (&RecordHost::pidsChanged);
157158 connectIsReady (&RecordHost::currentWorkingDirectoryChanged);
158159
159- setHost (QLatin1String (" localhost" ));
160+ setHost (QStringLiteral (" localhost" ));
160161}
161162
162163RecordHost::~RecordHost () { }
Original file line number Diff line number Diff line change @@ -82,6 +82,8 @@ KConfigGroup config()
8282
8383KConfigGroup applicationConfig (const QString& application)
8484{
85+ if (application.isEmpty ())
86+ return {};
8587 return config ().group (QLatin1String (" Application " ) + KShell::tildeExpand (application));
8688}
8789
Original file line number Diff line number Diff line change 1111#include " ui_callgraphsettingspage.h"
1212#include " ui_debuginfodpage.h"
1313#include " ui_flamegraphsettingspage.h"
14- #include " ui_sourcepathsettings.h"
1514#include " ui_perfsettingspage.h"
15+ #include " ui_sourcepathsettings.h"
1616#include " ui_unwindsettingspage.h"
1717
1818#include " multiconfigwidget.h"
You can’t perform that action at this time.
0 commit comments