diff options
author | Sandro Knauß <sknauss@kde.org> | 2016-10-10 13:01:15 +0200 |
---|---|---|
committer | Sandro Knauß <sknauss@kde.org> | 2016-10-10 13:01:15 +0200 |
commit | 6b6f20ffbe06402abcc7d4721ad1f647c3fc4c46 (patch) | |
tree | 6e2762d879c64373519b0506e9a66ddc27f04830 /accounts/imap | |
parent | 349e404b539c1f9d1feb54658e2e6fbbd2165462 (diff) | |
parent | 5fa8608e9877eab40336a60ed8ed979aaf3cfbd0 (diff) | |
download | kube-6b6f20ffbe06402abcc7d4721ad1f647c3fc4c46.tar.gz kube-6b6f20ffbe06402abcc7d4721ad1f647c3fc4c46.zip |
Merge branch 'develop' into dev/mimetreeinterface
Diffstat (limited to 'accounts/imap')
-rw-r--r-- | accounts/imap/package/contents/ui/ImapAccountSettings.qml | 31 | ||||
-rw-r--r-- | accounts/imap/tests/settingstest.cpp | 4 |
2 files changed, 18 insertions, 17 deletions
diff --git a/accounts/imap/package/contents/ui/ImapAccountSettings.qml b/accounts/imap/package/contents/ui/ImapAccountSettings.qml index 070f08aa..83886572 100644 --- a/accounts/imap/package/contents/ui/ImapAccountSettings.qml +++ b/accounts/imap/package/contents/ui/ImapAccountSettings.qml | |||
@@ -1,19 +1,20 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2016 Michael Bohlender <michael.bohlender@kdemail.net> | 2 | Copyright (C) 2016 Michael Bohlender, <michael.bohlender@kdemail.net> |
3 | * | 3 | |
4 | * This program is free software; you can redistribute it and/or modify | 4 | This program is free software; you can redistribute it and/or modify |
5 | * it under the terms of the GNU General Public License as published by | 5 | it under the terms of the GNU General Public License as published by |
6 | * the Free Software Foundation; either version 3 of the License, or | 6 | the Free Software Foundation; either version 2 of the License, or |
7 | * (at your option) any later version. | 7 | (at your option) any later version. |
8 | * | 8 | |
9 | * This program is distributed in the hope that it will be useful, | 9 | This program is distributed in the hope that it will be useful, |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 | * GNU General Public License for more details. | 12 | GNU General Public License for more details. |
13 | * | 13 | |
14 | * You should have received a copy of the GNU General Public License | 14 | You should have received a copy of the GNU General Public License along |
15 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | 15 | with this program; if not, write to the Free Software Foundation, Inc., |
16 | */ | 16 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
17 | */ | ||
17 | 18 | ||
18 | import QtQuick 2.4 | 19 | import QtQuick 2.4 |
19 | import QtQuick.Controls 1.4 | 20 | import QtQuick.Controls 1.4 |
diff --git a/accounts/imap/tests/settingstest.cpp b/accounts/imap/tests/settingstest.cpp index 4301943c..2fbc9b7b 100644 --- a/accounts/imap/tests/settingstest.cpp +++ b/accounts/imap/tests/settingstest.cpp | |||
@@ -43,7 +43,7 @@ private slots: | |||
43 | settings.setProperty("emailAddress", emailAddress); | 43 | settings.setProperty("emailAddress", emailAddress); |
44 | settings.save(); | 44 | settings.save(); |
45 | 45 | ||
46 | Sink::Store::fetchAll<Sink::ApplicationDomain::SinkResource>(Sink::Query()).then<void, QList<Sink::ApplicationDomain::SinkResource::Ptr>>([](const QList<Sink::ApplicationDomain::SinkResource::Ptr> &resources) { | 46 | Sink::Store::fetchAll<Sink::ApplicationDomain::SinkResource>(Sink::Query()).syncThen<void, QList<Sink::ApplicationDomain::SinkResource::Ptr>>([](const QList<Sink::ApplicationDomain::SinkResource::Ptr> &resources) { |
47 | QCOMPARE(resources.size(), 2); | 47 | QCOMPARE(resources.size(), 2); |
48 | }) | 48 | }) |
49 | .exec().waitForFinished(); | 49 | .exec().waitForFinished(); |
@@ -76,7 +76,7 @@ private slots: | |||
76 | settings.remove(); | 76 | settings.remove(); |
77 | } | 77 | } |
78 | 78 | ||
79 | Sink::Store::fetchAll<Sink::ApplicationDomain::SinkResource>(Sink::Query()).then<void, QList<Sink::ApplicationDomain::SinkResource::Ptr>>([](const QList<Sink::ApplicationDomain::SinkResource::Ptr> &resources) { | 79 | Sink::Store::fetchAll<Sink::ApplicationDomain::SinkResource>(Sink::Query()).syncThen<void, QList<Sink::ApplicationDomain::SinkResource::Ptr>>([](const QList<Sink::ApplicationDomain::SinkResource::Ptr> &resources) { |
80 | QCOMPARE(resources.size(), 0); | 80 | QCOMPARE(resources.size(), 0); |
81 | }) | 81 | }) |
82 | .exec().waitForFinished(); | 82 | .exec().waitForFinished(); |