Commit 235fa3ea authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Remove usage of deprecated QString::null

parent cfdcd9a8
......@@ -519,7 +519,7 @@ bool Processes::loadHistoryFile(const QString &filename)
QString Processes::historyFileName() const
{
if(!d->mIsLocalHost || !d->mHistoricProcesses)
return QString::null;
return {};
return d->mHistoricProcesses->historyFileName();
}
QDateTime Processes::viewingTime() const
......
......@@ -58,7 +58,7 @@ namespace KSysGuard
public:
Processes(const QString &hostname = QString::null, QObject * parent = nullptr);
Processes(const QString &hostname = {}, QObject * parent = nullptr);
~Processes() override;
enum UpdateFlag {
StandardInformation = 1,
......
Markdown is supported
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