Fix the build without KDE Frameworks (conductor properties panel)

conductorpropertieseditorwidget.cpp, from the #500 work, included
<KColorButton> unconditionally, so a build with BUILD_WITH_KF=OFF stopped
at "KColorButton: No such file or directory". Include the nokde stand-in
there instead, as dynamictextfieldeditor.h and terminaleditor.h do. It
has the same changed() signal the file connects to.

Checked on Ubuntu 22.04 (Qt 6.2.4, BUILD_WITH_KF=OFF): the file fails on
master and compiles with this change; together with #1085 the whole tree
builds and links. Builds with KDE Frameworks compile the same line as
before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G2d2Zi8BfrYRPX88zhaoFG
This commit is contained in:
ispyisail
2026-09-28 07:59:41 +13:00
parent 1331ed6677
commit ad88505f87
@@ -23,7 +23,11 @@
#include "conductorpropertieswidget.h"
#include "../qtextorientationspinboxwidget.h"
#include <KColorButton>
#ifdef BUILD_WITHOUT_KF
# include "nokde/kcolorbutton.h"
#else
# include <KColorButton>
#endif
#include <QAbstractButton>
#include <QAbstractSpinBox>