Temp disable color scheme so CI builds

This commit is contained in:
James Graham
2024-09-11 08:42:10 +01:00
parent dbed3e99c2
commit 909eec30d2
3 changed files with 9 additions and 8 deletions

View File

@@ -14,7 +14,7 @@ set(RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_
project(NeoChat VERSION ${RELEASE_SERVICE_VERSION}) project(NeoChat VERSION ${RELEASE_SERVICE_VERSION})
set(KF_MIN_VERSION "6.6") set(KF_MIN_VERSION "6.5")
set(QT_MIN_VERSION "6.5") set(QT_MIN_VERSION "6.5")
find_package(ECM ${KF_MIN_VERSION} REQUIRED NO_MODULE) find_package(ECM ${KF_MIN_VERSION} REQUIRED NO_MODULE)

View File

@@ -28,7 +28,8 @@ void ColorSchemer::apply(int idx)
int ColorSchemer::indexForCurrentScheme() int ColorSchemer::indexForCurrentScheme()
{ {
return c->indexForSchemeId(c->activeSchemeId()).row(); return -1;
// return c->indexForSchemeId(c->activeSchemeId()).row();
} }
#include "moc_colorschemer.cpp" #include "moc_colorschemer.cpp"

View File

@@ -217,12 +217,12 @@ FormCard.FormCardPage {
visible: colorSchemeDelegate.visible visible: colorSchemeDelegate.visible
} }
Loader { // Loader {
id: colorSchemeDelegate // id: colorSchemeDelegate
visible: item !== null // visible: item !== null
sourceComponent: Qt.createComponent('org.kde.neochat.settings', 'ColorScheme') // sourceComponent: Qt.createComponent('org.kde.neochat.settings', 'ColorScheme')
Layout.fillWidth: true // Layout.fillWidth: true
} // }
} }
FormCard.FormCard { FormCard.FormCard {