generic: require Katie v4.14.0+

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-08-28 20:35:10 +03:00
parent 8703b0b0d5
commit e7823a0484
3 changed files with 6 additions and 7 deletions

View file

@ -99,7 +99,7 @@ if(ENABLE_TESTING)
endif()
# required packages
find_package(Katie 4.13.0)
find_package(Katie 4.14.0)
set_package_properties(Katie PROPERTIES
DESCRIPTION "C++ toolkit derived from the Qt 4.8 framework"
URL "https://bitbucket.org/smil3y/workspace/projects/KATANA"

View file

@ -94,7 +94,7 @@ if(NOT KDELIBS4_FOUND)
set(KDE4_DEFINITIONS "${KDE4_DEFINITIONS} -DNDEBUG")
endif()
find_package(Katie QUIET REQUIRED 4.13.0)
find_package(Katie QUIET REQUIRED 4.14.0)
find_package(X11 QUIET REQUIRED)
# add the found KDE, Katie and X11 include directories to KDE4_INCLUDES, the

View file

@ -121,11 +121,10 @@ void DeclarativeWidgetPrivate::scheduleExecutionEnd()
if (component->isReady() || component->isError()) {
finishExecute();
} else {
#if QT_VERSION < 0x041300
QObject::connect(component, SIGNAL(statusChanged(QDeclarativeComponent::Status)), q, SLOT(finishExecute()));
#else
QObject::connect(component, SIGNAL(statusChanged(QDeclarativeComponent::ComponentStatus)), q, SLOT(finishExecute()));
#endif
QObject::connect(
component, SIGNAL(statusChanged(QDeclarativeComponent::ComponentStatus)),
q, SLOT(finishExecute())
);
}
}