Skip to content

Commit

Permalink
Fix segfaults on MythUI startup config screens.
Browse files Browse the repository at this point in the history
ShowOkPopup() was caching the screen stack.. but this pointer became invalid after the MythMainWindow was deleted.
  • Loading branch information
daniel-kristjansson committed Nov 23, 2011
1 parent c32fcf7 commit f53cc94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythui/mythdialogbox.cpp
Expand Up @@ -546,7 +546,7 @@ MythConfirmationDialog *ShowOkPopup(const QString &message, QObject *parent,
{
QString LOC = "ShowOkPopup('" + message + "') - ";
MythConfirmationDialog *pop;
static MythScreenStack *stk = NULL;
MythScreenStack *stk = NULL;


if (!stk)
Expand Down

0 comments on commit f53cc94

Please sign in to comment.