Commit 320c070c authored by Simon Redman's avatar Simon Redman
Browse files

Move contacts synchronization to connected method

parent 1d9ea25c
Pipeline #3425 failed with stage
in 8 minutes and 37 seconds
......@@ -53,11 +53,13 @@ ContactsPlugin::ContactsPlugin(QObject* parent, const QVariantList& args) :
qCWarning(KDECONNECT_PLUGIN_CONTACTS) << "handleResponseVCards:" << "Unable to create VCard directory";
}
synchronizeRemoteWithLocal();
qCDebug(KDECONNECT_PLUGIN_CONTACTS) << "Contacts constructor for device " << device()->name();
}
void ContactsPlugin::connected() {
synchronizeRemoteWithLocal();
}
bool ContactsPlugin::receivePacket(const NetworkPacket& np) {
//qCDebug(KDECONNECT_PLUGIN_CONTACTS) << "Packet Received for device " << device()->name();
//qCDebug(KDECONNECT_PLUGIN_CONTACTS) << np.body();
......
......@@ -93,8 +93,7 @@ public:
explicit ContactsPlugin(QObject* parent, const QVariantList& args);
bool receivePacket(const NetworkPacket& np) override;
void connected() override {
}
void connected() override;
QString dbusPath () const override;
......
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