Skip to content

Commit

Permalink
Use available the GetBoolSetting functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed Apr 4, 2019
1 parent 11eba70 commit a753da4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythui/myththemedmenu.cpp
Expand Up @@ -507,7 +507,7 @@ void MythThemedMenu::parseThemeButton(QDomElement &element)
}
else if (info.tagName() == "dependssetting")
{
addit = GetMythDB()->GetNumSetting(getFirstText(info));
addit = GetMythDB()->GetBoolSetting(getFirstText(info));
}
else if (info.tagName() == "dependjumppoint")
{
Expand Down
2 changes: 1 addition & 1 deletion mythtv/programs/mythfrontend/main.cpp
Expand Up @@ -1134,7 +1134,7 @@ static void TVMenuCallback(void *data, QString &selection)
else if (sel == "video_settings_general")
{
RunSettingsCompletion::Create(gCoreContext->
GetNumSetting("VideoAggressivePC", 0));
GetBoolSetting("VideoAggressivePC", false));
}
else if (sel == "video_settings_player")
{
Expand Down

0 comments on commit a753da4

Please sign in to comment.