Commit e6e2db47 authored by Friedemann Kleint's avatar Friedemann Kleint

Fix compile warnings.

Change-Id: I4149cfd1e3f8f4946d229df37b6f8250e0daf169
Reviewed-on: http://codereview.qt.nokia.com/868Reviewed-by: default avatarKai Koehne <kai.koehne@nokia.com>
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@nokia.com>
parent fda652a4
......@@ -41,12 +41,12 @@ QtMenu::~QtMenu()
void QtMenu::setTitle(const QString &title)
{
m_title = title;
}
QString QtMenu::title() const
{
return m_title;
}
QDeclarativeListProperty<QtMenuItem> QtMenu::menuItems()
......
......@@ -71,8 +71,8 @@ QVariant SessionModel::data(const QModelIndex &index, int role) const
return m_manager->isDefaultSession(sessionName);
else if (role == CurrentSessionRole)
return sessionName == m_manager->currentSession();
} else
return QVariant();
}
return QVariant();
}
......
......@@ -323,7 +323,7 @@ void RewriterView::importRemoved(const Import &import)
applyChanges();
}
void RewriterView::fileUrlChanged(const QUrl &/*oldUrl*/, const QUrl &/*newUrl*/)
void RewriterView::fileUrlChanged(const QUrl & /*oldUrl*/, const QUrl & /*newUrl*/)
{
}
......@@ -375,34 +375,34 @@ void RewriterView::customNotification(const AbstractView * /*view*/, const QStri
return; // we emitted this ourselves, so just ignore these notifications.
}
void RewriterView::scriptFunctionsChanged(const ModelNode &/*node*/, const QStringList &/*scriptFunctionList*/)
void RewriterView::scriptFunctionsChanged(const ModelNode & /*node*/, const QStringList & /*scriptFunctionList*/)
{
}
void RewriterView::instancePropertyChange(const QList<QPair<ModelNode, QString> > &/*propertyList*/)
void RewriterView::instancePropertyChange(const QList<QPair<ModelNode, QString> > & /*propertyList*/)
{
}
void RewriterView::instancesCompleted(const QVector<ModelNode> &/*completedNodeList*/)
void RewriterView::instancesCompleted(const QVector<ModelNode> & /*completedNodeList*/)
{
}
void RewriterView::instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash)
void RewriterView::instanceInformationsChange(const QMultiHash<ModelNode, InformationName> & /* informationChangeHash */)
{
}
void RewriterView::instancesRenderImageChanged(const QVector<ModelNode> &/*nodeList*/)
void RewriterView::instancesRenderImageChanged(const QVector<ModelNode> & /*nodeList*/)
{
}
void RewriterView::instancesPreviewImageChanged(const QVector<ModelNode> &/*nodeList*/)
void RewriterView::instancesPreviewImageChanged(const QVector<ModelNode> & /*nodeList*/)
{
}
void RewriterView::instancesChildrenChanged(const QVector<ModelNode> &/*nodeList*/)
void RewriterView::instancesChildrenChanged(const QVector<ModelNode> & /*nodeList*/)
{
}
......@@ -429,7 +429,7 @@ void RewriterView::rewriterEndTransaction()
}
}
void RewriterView::actualStateChanged(const ModelNode &/*node*/)
void RewriterView::actualStateChanged(const ModelNode & /*node*/)
{
}
......
......@@ -130,7 +130,6 @@ FORMS += makestep.ui \
qt4projectconfigwidget.ui \
showbuildlog.ui \
librarydetailswidget.ui \
showbuildlog.ui \
wizards/testwizardpage.ui \
wizards/targetsetuppage.ui \
wizards/qtquickappwizardsourcespage.ui \
......
......@@ -157,7 +157,7 @@ QList<ExampleItem> ExamplesListModel::parseTutorials(QXmlStreamReader* reader, c
return tutorials;
}
void ExamplesListModel::readNewsItems(const QString &examplesPath, const QString &demosPath, const QString &sourcePath)
void ExamplesListModel::readNewsItems(const QString &examplesPath, const QString &demosPath, const QString & /* sourcePath */)
{
clear();
foreach (const QString exampleSource, exampleSources()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment