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
#endif
}
-const QString RecMonitor::getV4lXmlPlaylist(MltVideoProfile profile, bool *isXml)
+const QString RecMonitor::getV4lXmlPlaylist(const MltVideoProfile &profile, bool *isXml)
{
QString playlist;
if (rec_video->isChecked() && rec_audio->isChecked()) {
kDebug() << "Found : " << capturedFiles.count() << " new capture files";
kDebug() << capturedFiles;
- if (capturedFiles.count() > 0) {
+ if (!capturedFiles.isEmpty()) {
QPointer<ManageCapturesDialog> d = new ManageCapturesDialog(capturedFiles, this);
if (d->exec() == QDialog::Accepted) {
emit addProjectClipList(d->importFiles());