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