From 628231ce98de926365d8286b8e6433325bd990ad Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Sun, 5 Aug 2018 23:43:00 +0200 Subject: [PATCH] Exporting symbols only makes sense from a library, not an executable --- smsapp/conversationlistmodel.h | 4 +--- smsapp/conversationmodel.h | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/smsapp/conversationlistmodel.h b/smsapp/conversationlistmodel.h index 833b9299a..e75fd169a 100644 --- a/smsapp/conversationlistmodel.h +++ b/smsapp/conversationlistmodel.h @@ -30,8 +30,6 @@ #include "interfaces/conversationmessage.h" #include "interfaces/dbusinterfaces.h" -#include "interfaces/kdeconnectinterfaces_export.h" - Q_DECLARE_LOGGING_CATEGORY(KDECONNECT_SMS_CONVERSATIONS_LIST_MODEL) @@ -65,7 +63,7 @@ private: Qt::SortOrder m_sortOrder = Qt::AscendingOrder; }; -class KDECONNECTINTERFACES_EXPORT ConversationListModel +class ConversationListModel : public QStandardItemModel { Q_OBJECT diff --git a/smsapp/conversationmodel.h b/smsapp/conversationmodel.h index 85e25a60b..3b3164352 100644 --- a/smsapp/conversationmodel.h +++ b/smsapp/conversationmodel.h @@ -26,11 +26,9 @@ #include "interfaces/dbusinterfaces.h" -#include "interfaces/kdeconnectinterfaces_export.h" - Q_DECLARE_LOGGING_CATEGORY(KDECONNECT_SMS_CONVERSATION_MODEL) -class KDECONNECTINTERFACES_EXPORT ConversationModel +class ConversationModel : public QStandardItemModel { Q_OBJECT