summaryrefslogtreecommitdiff
path: root/src/items/database/databasetableproperties.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/items/database/databasetableproperties.cpp')
-rw-r--r--src/items/database/databasetableproperties.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/items/database/databasetableproperties.cpp b/src/items/database/databasetableproperties.cpp
index 779b4bc..14c1fe9 100644
--- a/src/items/database/databasetableproperties.cpp
+++ b/src/items/database/databasetableproperties.cpp
@@ -151,7 +151,7 @@ DatabaseTableProperties::updateProperty(const QString &name, const QVariant &val
d->nameEdit->setText(value.toString());
}
else if (name == "color") {
- d->colorPicker->setCurrentColor(qVariantValue<QColor>(value));
+ d->colorPicker->setCurrentColor(value.value<QColor>());
}
}