Skip to content

Commit 08e30c5

Browse files
committed
test
1 parent a600dd5 commit 08e30c5

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

src/recordhost.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
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

162163
RecordHost::~RecordHost() { }

src/recordpage.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ KConfigGroup config()
110110

111111
KConfigGroup applicationConfig(const QString& application)
112112
{
113+
if (application.isEmpty())
114+
return {};
113115
return config().group(QLatin1String("Application ") + KShell::tildeExpand(application));
114116
}
115117

src/settingsdialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
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"

0 commit comments

Comments
 (0)