mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 10:52:49 +00:00
kdeui: fix regression since 956cfc5a59
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
a5d82b62dd
commit
aa43f7335c
1 changed files with 6 additions and 0 deletions
|
@ -424,6 +424,9 @@ void KConfigDialogManager::setProperty(QWidget *w, const QVariant &v)
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
QByteArray customproperty = getCustomProperty(w);
|
QByteArray customproperty = getCustomProperty(w);
|
||||||
|
if (customproperty.isEmpty()) {
|
||||||
|
customproperty = s_propertyMap->value(w->metaObject()->className());
|
||||||
|
}
|
||||||
if (customproperty.isEmpty()) {
|
if (customproperty.isEmpty()) {
|
||||||
QComboBox *cb = qobject_cast<QComboBox *>(w);
|
QComboBox *cb = qobject_cast<QComboBox *>(w);
|
||||||
if (cb) {
|
if (cb) {
|
||||||
|
@ -455,6 +458,9 @@ QVariant KConfigDialogManager::property(QWidget *w) const
|
||||||
return QVariant(bg->id(bg->checkedButton()));*/
|
return QVariant(bg->id(bg->checkedButton()));*/
|
||||||
|
|
||||||
QByteArray customproperty = getCustomProperty(w);
|
QByteArray customproperty = getCustomProperty(w);
|
||||||
|
if (customproperty.isEmpty()) {
|
||||||
|
customproperty = s_propertyMap->value(w->metaObject()->className());
|
||||||
|
}
|
||||||
if (customproperty.isEmpty()) {
|
if (customproperty.isEmpty()) {
|
||||||
QComboBox *cb = qobject_cast<QComboBox *>(w);
|
QComboBox *cb = qobject_cast<QComboBox *>(w);
|
||||||
if (cb) {
|
if (cb) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue