Commit b576d5ef authored by Michael Pyne's avatar Michael Pyne

Fix the track announcement popup positioning, which would move around when

the title was shorter than the artist or album.  The buttons  should stay in
one spot now, except in a few rare cases (such as the system tray being flush
left on the screen).

svn path=/trunk/kdemultimedia/juk/; revision=313870
parent e2297aa2
......@@ -195,8 +195,6 @@ void SystemTray::createPopup(bool addButtons)
connect(forwardButton, SIGNAL(clicked()), action("forward"), SLOT(activate()));
}
m_popup->setView(box);
// We don't want an autodelete popup. There are times when it will need
// to be hidden before the timeout.
m_popup->setAutoDelete(false);
......@@ -210,6 +208,7 @@ void SystemTray::createPopup(bool addButtons)
if(album)
album->setText(albumStr);
m_popup->setView(box);
m_popup->show();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment