Commit 289597b3 authored by Laurent Montel's avatar Laurent Montel 😁

Remove warning about K_PLUGIN_FACTORY

parent f93c119e
......@@ -32,6 +32,14 @@ include(ECMAddAppIcon)
include(ECMQtDeclareLoggingCategory)
include(ECMCoverageOption)
if(NOT CMAKE_VERSION VERSION_LESS "3.10.0")
# CMake 3.9+ warns about automoc on files without Q_OBJECT, and doesn't know about other macros.
# 3.10+ lets us provide more macro names that require automoc.
# Remove this when depending on a Frameworks or ECM version that solves this upstream.
list(APPEND CMAKE_AUTOMOC_MACRO_NAMES "K_PLUGIN_FACTORY_WITH_JSON" "K_PLUGIN_FACTORY")
endif()
# Do NOT add quote
set(KDEPIM_DEV_VERSION alpha)
......
......@@ -122,6 +122,7 @@ void AttachmentController::selectionChanged()
index, MessageComposer::AttachmentModel::AttachmentPartRole).value<AttachmentPart::Ptr>();
selectedParts.append(part);
}
qDebug() << " void AttachmentController::selectionChanged()"<<selectedParts;
setSelectedParts(selectedParts);
}
......
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