From: Jean-Baptiste M. <jb...@kd...> - 2013-06-04 20:24:26
|
Git commit 76ea18353df8838a1a9d10741d689538419569c6 by Jean-Baptiste Mardelle, on behalf of Montel Laurent. Committed on 25/05/2013 at 10:55. Pushed by mardelle into branch 'v0.9'. Fix crash when it's not visible M +2 -1 src/recmonitor.cpp http://commits.kde.org/kdenlive/76ea18353df8838a1a9d10741d689538419569c6 diff --git a/src/recmonitor.cpp b/src/recmonitor.cpp index fc75eaa..3d6c083 100644 --- a/src/recmonitor.cpp +++ b/src/recmonitor.cpp @@ -799,7 +799,8 @@ void RecMonitor::showWarningMessage(const QString &text, bool logAction) m_infoMessage->addAction(manualAction); } #if KDE_IS_VERSION(4,10,0) - m_infoMessage->animatedShow(); + if (isVisible()) + m_infoMessage->animatedShow(); #else QTimer::singleShot(0, m_infoMessage, SLOT(animatedShow())); #endif |