Skip to content

Commit

Permalink
OSD: Use auto with dynamic_cast
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-kendall committed Oct 7, 2020
1 parent d3c5e98 commit 100401f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/osd.cpp
Expand Up @@ -1284,7 +1284,7 @@ bool OsdNavigation::Create(void)
{
if (child != moreButton)
{
MythUIButton* button = dynamic_cast<MythUIButton*>(child);
auto * button = dynamic_cast<MythUIButton*>(child);
if (button)
connect(button, &MythUIButton::Clicked, this, &OsdNavigation::GeneralAction);
}
Expand Down

0 comments on commit 100401f

Please sign in to comment.