Commit 03ebb5b2 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: Use QT_NO_KEYWORDS. It will be the default in qt6

parent 161dc934
......@@ -91,6 +91,7 @@ if (EXISTS "${CMAKE_SOURCE_DIR}/.git")
endif()
add_definitions(-DQT_NO_FOREACH)
add_definitions(-DQT_NO_KEYWORDS)
add_subdirectory(src)
......
......@@ -119,7 +119,7 @@ void Core::Private::slotPartDestroyed(QObject *obj)
void Core::Private::checkNewDay()
{
if (mLastDate != QDate::currentDate()) {
emit q->dayChanged(QDate::currentDate());
Q_EMIT q->dayChanged(QDate::currentDate());
}
mLastDate = QDate::currentDate();
......
......@@ -162,7 +162,7 @@ void Summary::dragEnterEvent(QDragEnterEvent *event)
void Summary::dropEvent(QDropEvent *event)
{
const int alignment = (event->pos().y() < (height() / 2) ? Qt::AlignTop : Qt::AlignBottom);
emit summaryWidgetDropped(this, event->source(), alignment);
Q_EMIT summaryWidgetDropped(this, event->source(), alignment);
}
#include <summary.moc>
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