]> git.sesse.net Git - kdenlive/commitdiff
cppcheck fixes, patch by Mikko Rapeli [13/27]
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Fri, 9 Sep 2011 23:47:12 +0000 (23:47 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Fri, 9 Sep 2011 23:47:12 +0000 (23:47 +0000)
svn path=/trunk/kdenlive/; revision=5886

src/effectstackedit.cpp
src/effectstackedit.h
src/effectstackview.cpp

index 00ebba69d55ecc00fe2b0d9494c31a4cbfeb2cab..1711128918cfb8cafa32103e0fd7073b7afa47b3 100644 (file)
@@ -205,7 +205,7 @@ void EffectStackEdit::updateParameter(const QString &name, const QString &value)
     }
 }
 
-void EffectStackEdit::transferParamDesc(const QDomElement d, ItemInfo info, bool isEffect)
+void EffectStackEdit::transferParamDesc(const QDomElement &d, ItemInfo info, bool isEffect)
 {
     clearAllItems();
     if (m_keyframeEditor) delete m_keyframeEditor;
index d27705984ba75cc3ea56bb1178629ebd13e8391c..ea41b30ff0125f11edc4f68a1ad9dc6e43a1a52f 100644 (file)
@@ -87,7 +87,7 @@ private:
 
 public slots:
     /** @brief Called when an effect is selected, builds the UIĀ for this effect. */
-    void transferParamDesc(const QDomElement d, ItemInfo info, bool isEffect = true);
+    void transferParamDesc(const QDomElement &d, ItemInfo info, bool isEffect = true);
 
     /** @brief Called whenever(?) some parameter is changed in the gui.
      *
@@ -98,7 +98,7 @@ public slots:
     void slotSyncEffectsPos(int pos);
 
 signals:
-    void parameterChanged(const QDomElement, const QDomElement);
+    void parameterChanged(const QDomElement &, const QDomElement &);
     void seekTimeline(int);
     void displayMessage(const QString&, int);
     void checkMonitorPosition(int);
index d188762525d2bacf0343b390606e1a6d5f73cc8c..5726f846ae655ee5308940ac58009a6c6968d361 100644 (file)
@@ -91,7 +91,7 @@ EffectStackView::EffectStackView(Monitor *monitor, QWidget *parent) :
     connect(m_ui.buttonReset, SIGNAL(clicked()), this, SLOT(slotResetEffect()));
     connect(m_ui.checkAll, SIGNAL(stateChanged(int)), this, SLOT(slotCheckAll(int)));
     connect(m_ui.buttonShowComments, SIGNAL(clicked()), this, SLOT(slotShowComments()));
-    connect(m_effectedit, SIGNAL(parameterChanged(const QDomElement, const QDomElement)), this , SLOT(slotUpdateEffectParams(const QDomElement, const QDomElement)));
+    connect(m_effectedit, SIGNAL(parameterChanged(const QDomElement &, const QDomElement &)), this , SLOT(slotUpdateEffectParams(const QDomElement &, const QDomElement &)));
     connect(m_effectedit, SIGNAL(seekTimeline(int)), this , SLOT(slotSeekTimeline(int)));
     connect(m_effectedit, SIGNAL(displayMessage(const QString&, int)), this, SIGNAL(displayMessage(const QString&, int)));
     connect(m_effectedit, SIGNAL(checkMonitorPosition(int)), this, SLOT(slotCheckMonitorPosition(int)));