Remove unused stuff
This commit is contained in:
parent
ec22001648
commit
132ae2ca7c
4 changed files with 1 additions and 4 deletions
|
@ -84,7 +84,6 @@ int main(int argc, char **argv)
|
|||
parser.process(app);
|
||||
about.processCommandLine(&parser);
|
||||
|
||||
const QString id = QStringLiteral("kdeconnect-cli-") + QString::number(QCoreApplication::applicationPid());
|
||||
DaemonDbusInterface iface;
|
||||
|
||||
if (parser.isSet(QStringLiteral("my-id"))) {
|
||||
|
|
|
@ -23,7 +23,6 @@ FileTransferJob::FileTransferJob(const NetworkPacket *np, const QUrl &destinatio
|
|||
, m_reply(nullptr)
|
||||
, m_from(QStringLiteral("KDE Connect"))
|
||||
, m_destination(destination)
|
||||
, m_speedBytes(0)
|
||||
, m_written(0)
|
||||
, m_size(np->payloadSize())
|
||||
, m_np(np)
|
||||
|
|
|
@ -71,7 +71,6 @@ private:
|
|||
QString m_from;
|
||||
QUrl m_destination;
|
||||
QElapsedTimer m_timer;
|
||||
qulonglong m_speedBytes;
|
||||
qint64 m_written;
|
||||
qint64 m_size;
|
||||
const NetworkPacket *m_np;
|
||||
|
|
|
@ -87,7 +87,7 @@ int main(int argc, char **argv)
|
|||
|
||||
DaemonDbusInterface iface;
|
||||
|
||||
auto refreshMenu = [&iface, &model, &menu, &helper, &dialog]() {
|
||||
auto refreshMenu = [&iface, &model, &menu, &dialog]() {
|
||||
menu->clear();
|
||||
auto configure = menu->addAction(QIcon::fromTheme(QStringLiteral("configure")), i18n("Configure..."));
|
||||
QObject::connect(configure, &QAction::triggered, configure, [&dialog]() {
|
||||
|
|
Loading…
Reference in a new issue