Skip to content

Commit

Permalink
Do not allocate MythImage directly, instead call MythPainter::GetForm…
Browse files Browse the repository at this point in the history
…atImage()

Generic MythImage can't be used with Qt Painter.

Fixes #11725
  • Loading branch information
jyavenard committed Aug 5, 2013
1 parent 0bcc449 commit 73c769f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythui/mythnotificationcenter.cpp
Expand Up @@ -411,7 +411,7 @@ void MythNotificationScreen::Init(void)
else if (!m_image.isNull())
{
// We don't have a path to the image, but the image itself
MythImage *img = new MythImage(m_artworkImage->GetPainter());
MythImage *img = m_artworkImage->GetPainter()->GetFormatImage();
img->Assign(m_image);
m_artworkImage->SetImage(img);
img->DecrRef();
Expand Down

0 comments on commit 73c769f

Please sign in to comment.