]> git.sesse.net Git - kdenlive/commitdiff
Fix crash when it's not visible
authorMontel Laurent <montel@kde.org>
Sat, 25 May 2013 08:55:28 +0000 (10:55 +0200)
committerMontel Laurent <montel@kde.org>
Sat, 25 May 2013 08:55:28 +0000 (10:55 +0200)
src/recmonitor.cpp

index fc75eaaba0aa7b976e3fe4131bf64a4263452bbe..3d6c08334e98c0eb6c6b3232b5bf30b2dc6d9259 100644 (file)
@@ -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