diff --git a/ui/zenomodel/src/subgraphmodel.h b/ui/zenomodel/src/subgraphmodel.h
index 90c6ae82af..cbec376c7d 100644
--- a/ui/zenomodel/src/subgraphmodel.h
+++ b/ui/zenomodel/src/subgraphmodel.h
@@ -122,7 +122,7 @@ class SubGraphModel : public QAbstractItemModel
     QModelIndex getNetOutput(const QString& name) const;
     QStringList dumpLabels() const;
     QModelIndexList getNetInputSocks(const QString& name) const;
-    void SubGraphModel::setCommandParam(const QModelIndex& sock, bool bMarked);
+    void setCommandParam(const QModelIndex& sock, bool bMarked);
 
 public slots:
     void onDoubleClicked(const QString &nodename);