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 11
11
#include < QProcess>
12
12
#include < QStandardPaths>
13
13
#include < QThread>
14
+ #include < qstringliteral.h>
14
15
15
16
#include < KShell>
16
17
#include < KUser>
@@ -156,7 +157,7 @@ RecordHost::RecordHost(QObject* parent)
156
157
connectIsReady (&RecordHost::pidsChanged);
157
158
connectIsReady (&RecordHost::currentWorkingDirectoryChanged);
158
159
159
- setHost (QLatin1String (" localhost" ));
160
+ setHost (QStringLiteral (" localhost" ));
160
161
}
161
162
162
163
RecordHost::~RecordHost () { }
Original file line number Diff line number Diff line change @@ -110,6 +110,8 @@ KConfigGroup config()
110
110
111
111
KConfigGroup applicationConfig (const QString& application)
112
112
{
113
+ if (application.isEmpty ())
114
+ return {};
113
115
return config ().group (QLatin1String (" Application " ) + KShell::tildeExpand (application));
114
116
}
115
117
Original file line number Diff line number Diff line change 11
11
#include " ui_callgraphsettingspage.h"
12
12
#include " ui_debuginfodpage.h"
13
13
#include " ui_flamegraphsettingspage.h"
14
- #include " ui_sourcepathsettings.h"
15
14
#include " ui_perfsettingspage.h"
15
+ #include " ui_sourcepathsettings.h"
16
16
#include " ui_unwindsettingspage.h"
17
17
18
18
#include " multiconfigwidget.h"
You can’t perform that action at this time.
0 commit comments