X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fvideosource.cpp;h=6ca33cf8e502f0b93265997e71591de8fd245624;hb=HEAD;hp=6f08656a1b662e1e9952768a87bb3555088a1e54;hpb=7cdd5bd476021ec84d54c4ec5be02280e1e9e548;p=minitube diff --git a/src/videosource.cpp b/src/videosource.cpp index 6f08656..6ca33cf 100644 --- a/src/videosource.cpp +++ b/src/videosource.cpp @@ -20,7 +20,7 @@ $END_LICENSE */ #include "videosource.h" -void VideoSource::setParam(QString name, QVariant value) { +void VideoSource::setParam(const QString &name, const QVariant &value) { bool success = setProperty(name.toUtf8(), value); if (!success) qWarning() << "Failed to set property" << name << value.toString(); }