summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qmnghandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/image/qmnghandler.cpp')
-rw-r--r--src/gui/image/qmnghandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/image/qmnghandler.cpp b/src/gui/image/qmnghandler.cpp
index cf53af0..40f1b54 100644
--- a/src/gui/image/qmnghandler.cpp
+++ b/src/gui/image/qmnghandler.cpp
@@ -481,7 +481,7 @@ void QMngHandler::setOption(ImageOption option, const QVariant & value)
{
Q_D(QMngHandler);
if (option == QImageIOHandler::BackgroundColor)
- d->setBackgroundColor(qVariantValue<QColor>(value));
+ d->setBackgroundColor(qvariant_cast<QColor>(value));
}
/*! \reimp */