- if (exepath.isEmpty()) showMessage(i18n("ffmpeg or avconv not found,\n please install it for screen grabs"), "dialog-warning");
+ if (exepath.isEmpty()) showWarningMessage(i18n("ffmpeg or avconv not found,\n please install it for screen grabs"));
else KdenliveSettings::setFfmpegpath(exepath);
}
if (!KdenliveSettings::ffmpegpath().isEmpty()) {
if (!Render::checkX11Grab()) {
// FFmpeg does not support screen grab
- showMessage("dialog-warning", i18n("Your FFmpeg / Libav installation\n does not support screen grab"));
+ showWarningMessage(i18n("Your FFmpeg / Libav installation\n does not support screen grab"));
m_recAction->setEnabled(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", m_capturePath)));
if (m_captureProcess && m_captureProcess->exitStatus() == QProcess::CrashExit) {
- showMessage(i18n("Capture crashed, please check your parameters"), "dialog-warning", true);
+ showWarningMessage(i18n("Capture crashed, please check your parameters"), true);
} else {
if (device_selector->currentIndex() != SCREENGRAB) {
video_frame->setText(i18n("Not connected"));
} else {
int code = m_captureProcess->exitCode();
if (code != 0 && code != 255) {
- showMessage(i18n("Capture crashed, please check your parameters"), "dialog-warning", true);
+ showWarningMessage(i18n("Capture crashed, please check your parameters"), true);
} 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", m_capturePath)));