From e072f1c71d08b819953f667699191af156fa451c Mon Sep 17 00:00:00 2001 From: Kai Koehne <kai.koehne@nokia.com> Date: Tue, 6 Apr 2010 08:33:35 +0200 Subject: [PATCH] Fix compiler warnings (gcc) --- src/plugins/qmldesigner/core/model/qmlmodelview.cpp | 2 +- src/plugins/qt4projectmanager/qt-maemo/maemosshconnection.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/qmldesigner/core/model/qmlmodelview.cpp b/src/plugins/qmldesigner/core/model/qmlmodelview.cpp index 9e8fd989742..aaf72d70006 100644 --- a/src/plugins/qmldesigner/core/model/qmlmodelview.cpp +++ b/src/plugins/qmldesigner/core/model/qmlmodelview.cpp @@ -338,7 +338,7 @@ void QmlModelView::otherPropertyChanged(const QmlObjectNode &/*qmlObjectNode*/, { } -void QmlModelView::stateChanged(const QmlModelState &newQmlModelState, const QmlModelState &/*oldQmlModelState*/) +void QmlModelView::stateChanged(const QmlModelState &/*newQmlModelState*/, const QmlModelState &/*oldQmlModelState*/) { } diff --git a/src/plugins/qt4projectmanager/qt-maemo/maemosshconnection.cpp b/src/plugins/qt4projectmanager/qt-maemo/maemosshconnection.cpp index e0013ffe244..18da1518c1a 100644 --- a/src/plugins/qt4projectmanager/qt-maemo/maemosshconnection.cpp +++ b/src/plugins/qt4projectmanager/qt-maemo/maemosshconnection.cpp @@ -65,7 +65,7 @@ namespace { MaemoSshConnection::MaemoSshConnection(const MaemoDeviceConfig &devConf, bool shell) - : m_channel(-1), m_stopRequested(false), ssh(new ne7ssh) + : ssh(new ne7ssh), m_channel(-1), m_stopRequested(false) { const QString *authString; int (ne7ssh::*connFunc)(const char *, int, const char *, const char *, bool, int); -- GitLab