Skip to content
Permalink
Browse files

Settings: Remove use of deprecated qVariantValue

  • Loading branch information...
natanojl committed Feb 10, 2016
1 parent 19c2983 commit 9d80fe7ab2685bfcc365b4b3ea2d5aa16d491566
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmyth/standardsettings.cpp
@@ -770,7 +770,7 @@ void StandardSettingDialog::settingSelected(MythUIButtonListItem *item)
if (!item)
return;

StandardSetting *setting = qVariantValue<StandardSetting*>(item->GetData());
StandardSetting *setting = item->GetData().value<StandardSetting*>();
if (setting && m_selectedSettingHelp)
{
m_selectedSettingHelp->SetText(setting->getHelpText());

0 comments on commit 9d80fe7

Please sign in to comment.
You can’t perform that action at this time.