]> git.sesse.net Git - kdenlive/blobdiff - src/scopes/colorscopes/rgbparade.cpp
Remove virtual keyword, fix indent. Const'ref
[kdenlive] / src / scopes / colorscopes / rgbparade.cpp
index f2583262127e9060718b01f084eb884eba3f1e56..71d540a95132d7e56a0e2a3348e42c85d5cebb23 100644 (file)
@@ -123,7 +123,7 @@ QImage RGBParade::renderHUD(uint)
     return hud;
 }
 
-QImage RGBParade::renderGfxScope(uint accelerationFactor, const QImage qimage)
+QImage RGBParade::renderGfxScope(uint accelerationFactor, const QImage &qimage)
 {
     QTime start = QTime::currentTime();
     start.start();
@@ -135,8 +135,23 @@ QImage RGBParade::renderGfxScope(uint accelerationFactor, const QImage qimage)
     return parade;
 }
 
-QImage RGBParade::renderBackground(uint) { return QImage(); }
+QImage RGBParade::renderBackground(uint)
+{
+    return QImage();
+}
+
+bool RGBParade::isHUDDependingOnInput() const
+{
+    return false;
+}
+
+bool RGBParade::isScopeDependingOnInput() const
+{
+    return true;
+}
+
+bool RGBParade::isBackgroundDependingOnInput() const
+{
+    return false;
+}
 
-bool RGBParade::isHUDDependingOnInput() const { return false; }
-bool RGBParade::isScopeDependingOnInput() const { return true; }
-bool RGBParade::isBackgroundDependingOnInput() const { return false; }