svn path=/trunk/kdenlive/; revision=3963
RecMonitor::~RecMonitor()
{
RecMonitor::~RecMonitor()
{
+#if KDE_IS_VERSION(4,2,0)
delete m_captureProcess;
delete m_displayProcess;
}
delete m_captureProcess;
delete m_displayProcess;
}
m_isCapturing = true;
m_didCapture = true;
m_captureProcess->write("c\n", 3);
m_isCapturing = true;
m_didCapture = true;
m_captureProcess->write("c\n", 3);
+#if KDE_IS_VERSION(4,2,0)
return;
}
if (m_captureProcess->state() == QProcess::NotRunning) {
return;
}
if (m_captureProcess->state() == QProcess::NotRunning) {
else video_frame->setPixmap(mergeSideBySide(KIcon("video-display").pixmap(QSize(50, 50)), i18n("Press record button\nto start screen capture\nFiles will be saved in:\n%1", KdenliveSettings::capturefolder())));
}
m_isCapturing = false;
else video_frame->setPixmap(mergeSideBySide(KIcon("video-display").pixmap(QSize(50, 50)), i18n("Press record button\nto start screen capture\nFiles will be saved in:\n%1", KdenliveSettings::capturefolder())));
}
m_isCapturing = false;
#if KDE_IS_VERSION(4,2,0)
#if KDE_IS_VERSION(4,2,0)
// update free space info
slotUpdateFreeSpace();
#endif
// update free space info
slotUpdateFreeSpace();
#endif
m_dvinfo.updateGeometry();
}
m_dvinfo.updateGeometry();
}
-#include "recmonitor.moc"
\ No newline at end of file
+#include "recmonitor.moc"
+