aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-10-25 08:10:21 +0200
committerMontel Laurent <[email protected]>2017-10-25 08:10:21 +0200
commitc84e4758bd128b09a18c3714f8cd432494af6e51 (patch)
tree17c0d9f2e312a343d98676402fdc5459a52ac28c
parentc73bde479f0647fd56dc6fcd3a18ae5c4c4f1e38 (diff)
USe new method setReadOnly
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/akonadi-contacts/plugins/categorieseditwidget.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 16aa1cb..6416682 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -28,7 +28,7 @@ set(AKONADI_CONTACTS_VERSION ${PIM_VERSION})
set(AKONADI_MIME_VERSION "5.6.40")
set(KCONTACTS_VERSION "5.6.40")
set(KMIMELIB_VERSION "5.6.40")
-set(AKONADI_VERSION "5.6.40")
+set(AKONADI_VERSION "5.6.43")
set(QT_REQUIRED_VERSION "5.8.0")
find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets Test)
diff --git a/src/akonadi-contacts/plugins/categorieseditwidget.cpp b/src/akonadi-contacts/plugins/categorieseditwidget.cpp
index 76b65c7..c7646c4 100644
--- a/src/akonadi-contacts/plugins/categorieseditwidget.cpp
+++ b/src/akonadi-contacts/plugins/categorieseditwidget.cpp
@@ -46,7 +46,7 @@ CategoriesEditWidget::~CategoriesEditWidget()
void CategoriesEditWidget::setReadOnly(bool readOnly)
{
- mTagWidget->setEnabled(!readOnly);
+ mTagWidget->setReadOnly(readOnly);
}
void CategoriesEditWidget::loadContact(const KContacts::Addressee &contact)