Hi, all<br><br>With latest qt4.5 and amarok from trunk I got crash at startup inside LyricsApplet::sizeHint cause m_lyrics was null.<br>According to Plasma::Applet::init doc paint event could be called before initialization, so m_lyrics should be created earlier.<br>
Following patch makes crash go away, but I wrote it only to check my theory:<br>Index: lyrics/LyricsApplet.cpp<br>===================================================================<br>--- lyrics/LyricsApplet.cpp (revision 912719)<br>
+++ lyrics/LyricsApplet.cpp (working copy)<br>@@ -250,8 +250,11 @@<br> {<br> DEBUG_BLOCK<br> Q_UNUSED( which );<br>- debug() << "returning sizehint height of" << m_lyrics->sizeHint().height();<br>
- return QSizeF( constraint.width(), m_lyrics->sizeHint().height() );<br>+ if (m_lyrics) {<br>+ debug() << "returning sizehint height of" << m_lyrics->sizeHint().height();<br>+ return QSizeF( constraint.width(), m_lyrics->sizeHint().height() );<br>
+ }<br>+ return QSizeF();<br><br> }<br> void<br>Sorry, I'd had to revert my fix to provide backtrace, so I'm gonna omit it for now<br><br>Best regards,<br>Vyacheslav Tokarev (vtokarev)<br>