Commit 3cf25d04 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Time to increase version

parent e0fbb822
......@@ -8,8 +8,8 @@ set(RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_
project(kbruch VERSION ${RELEASE_SERVICE_VERSION})
set(QT_MIN_VERSION "5.9.0")
set(KF5_MIN_VERSION "5.46.0")
set(QT_MIN_VERSION "5.15.0")
set(KF5_MIN_VERSION "5.83.0")
find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} )
......@@ -41,12 +41,6 @@ add_definitions(
-DQT_NO_URL_CAST_FROM_STRING
)
if (${KF5Config_VERSION} STRGREATER "5.56.0")
add_definitions(-DQT_NO_FOREACH)
MESSAGE(STATUS "compile without foreach")
endif()
add_subdirectory( doc )
add_subdirectory( src )
......
......@@ -39,11 +39,11 @@ void PrimeFactorsLineEdit::textHasChanged(const QString &text)
if (!checkCorrectness(text)) {
palette.setColor(QPalette::Base, Qt::red);
setPalette(palette);
emit contentIsRight(false);
Q_EMIT contentIsRight(false);
} else {
palette.setColor(QPalette::Base, Qt::white);
setPalette(palette);
emit contentIsRight(true);
Q_EMIT contentIsRight(true);
}
}
......
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