forked from qt-creator/qt-creator
Replace uses of qVariantFromValue with QVariant::fromValue
Deprecated in Qt 5.14, alternative has been around since Qt 4 at least. Change-Id: I4e3a53c289088368609e0d0ce2405a832d311308 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -400,7 +400,7 @@ void HelpPluginPrivate::saveExternalWindowSettings()
|
||||
return;
|
||||
m_externalWindowState = m_externalWindow->geometry();
|
||||
QSettings *settings = ICore::settings();
|
||||
settings->setValue(kExternalWindowStateKey, qVariantFromValue(m_externalWindowState));
|
||||
settings->setValue(kExternalWindowStateKey, QVariant::fromValue(m_externalWindowState));
|
||||
}
|
||||
|
||||
HelpWidget *HelpPluginPrivate::createHelpWidget(const Context &context, HelpWidget::WidgetStyle style)
|
||||
|
||||
Reference in New Issue
Block a user