diff --git a/qml/components/ContactSync.qml b/qml/components/ContactSync.qml index 3833fc1..cda2ff9 100644 --- a/qml/components/ContactSync.qml +++ b/qml/components/ContactSync.qml @@ -17,28 +17,28 @@ along with Fernschreiber. If not, see . */ import QtQuick 2.0 -import org.nemomobile.contacts 1.0 +//import org.nemomobile.contacts 1.0 Item { - signal syncError(); +// signal syncError(); - function synchronize() { - if (peopleModel.count === 0) { - appNotification.show(qsTr("Could not synchronize your contacts with Telegram.")); - syncError(); - } else { - contactsModel.startImportingContacts(); - for (var i = 0; i < peopleModel.count; i++ ) { - contactsModel.importContact(peopleModel.get(i)); - } - contactsModel.stopImportingContacts(); - } - } +// function synchronize() { +// if (peopleModel.count === 0) { +// appNotification.show(qsTr("Could not synchronize your contacts with Telegram.")); +// syncError(); +// } else { +// contactsModel.startImportingContacts(); +// for (var i = 0; i < peopleModel.count; i++ ) { +// contactsModel.importContact(peopleModel.get(i)); +// } +// contactsModel.stopImportingContacts(); +// } +// } - PeopleModel { - id: peopleModel - requiredProperty: PeopleModel.PhoneNumberRequired - } +// PeopleModel { +// id: peopleModel +// requiredProperty: PeopleModel.PhoneNumberRequired +// } } diff --git a/rpm/harbour-fernschreiber.spec b/rpm/harbour-fernschreiber.spec index e8833bb..2499bf0 100644 --- a/rpm/harbour-fernschreiber.spec +++ b/rpm/harbour-fernschreiber.spec @@ -12,14 +12,14 @@ Name: harbour-fernschreiber Summary: Fernschreiber is a Telegram client for Sailfish OS Version: 0.17 -Release: 1 +Release: 2 Group: Qt/Qt License: LICENSE URL: http://werkwolf.eu/ Source0: %{name}-%{version}.tar.bz2 Source100: harbour-fernschreiber.yaml Requires: sailfishsilica-qt5 >= 0.10.9 -Requires: nemo-qml-plugin-contacts-qt5 +#Requires: nemo-qml-plugin-contacts-qt5 BuildRequires: pkgconfig(sailfishapp) >= 1.0.2 BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Qml)