Remove unused createId methods
This commit is contained in:
parent
319696c445
commit
7d66b07ef7
2 changed files with 0 additions and 12 deletions
|
@ -19,13 +19,6 @@
|
||||||
|
|
||||||
#include "interfaces_debug.h"
|
#include "interfaces_debug.h"
|
||||||
|
|
||||||
static QString createId()
|
|
||||||
{
|
|
||||||
return QCoreApplication::instance()->applicationName() + QString::number(QCoreApplication::applicationPid());
|
|
||||||
}
|
|
||||||
|
|
||||||
Q_GLOBAL_STATIC_WITH_ARGS(QString, s_keyId, (createId()));
|
|
||||||
|
|
||||||
DevicesModel::DevicesModel(QObject *parent)
|
DevicesModel::DevicesModel(QObject *parent)
|
||||||
: QAbstractListModel(parent)
|
: QAbstractListModel(parent)
|
||||||
, m_dbusInterface(new DaemonDbusInterface(this))
|
, m_dbusInterface(new DaemonDbusInterface(this))
|
||||||
|
|
|
@ -22,11 +22,6 @@
|
||||||
|
|
||||||
K_PLUGIN_CLASS_WITH_JSON(KdeConnectKcm, "kcm_kdeconnect.json")
|
K_PLUGIN_CLASS_WITH_JSON(KdeConnectKcm, "kcm_kdeconnect.json")
|
||||||
|
|
||||||
static QString createId()
|
|
||||||
{
|
|
||||||
return QStringLiteral("kcm") + QString::number(QCoreApplication::applicationPid());
|
|
||||||
}
|
|
||||||
|
|
||||||
KdeConnectKcm::KdeConnectKcm(QObject *parent, const QVariantList &args)
|
KdeConnectKcm::KdeConnectKcm(QObject *parent, const QVariantList &args)
|
||||||
: KCModule(qobject_cast<QWidget *>(parent))
|
: KCModule(qobject_cast<QWidget *>(parent))
|
||||||
, kcmUi(new Ui::KdeConnectKcmUi())
|
, kcmUi(new Ui::KdeConnectKcmUi())
|
||||||
|
|
Loading…
Reference in a new issue