]> git.sesse.net Git - kdenlive/blobdiff - src/recmonitor.cpp
const'ify/use reference. Remove unused variable
[kdenlive] / src / recmonitor.cpp
index 2439dc2ed15f608592f7158b6f10692d78b1fa0e..58b24e65eb6e76624790fbca01e4096f4db31f68 100644 (file)
@@ -280,7 +280,7 @@ void RecMonitor::slotVideoDeviceChanged(int ix)
         if (!KdenliveSettings::ffmpegpath().isEmpty()) {
            if (!Render::checkX11Grab()) {
                // FFmpeg does not support screen grab
-               showWarningMessage(i18n("Your FFmpeg / Libav installation\n does not support screen grab"), "dialog-warning");
+               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)));
@@ -810,7 +810,7 @@ void RecMonitor::showWarningMessage(const QString &text, bool logAction)
     }
     else {
        video_frame->setText(QString("<qt>" + text + "<br><a href=\"http://kde.org\">" + i18n("Show log") + "</a>"));
-       connect(video_frame, SIGNAL(linkActivated (const QString &)), this, SLOT(slotShowLog()));
+       connect(video_frame, SIGNAL(linkActivated(QString)), this, SLOT(slotShowLog()));
     }
 #endif
 }