Commit d149dea7 authored by Aurindam Jana's avatar Aurindam Jana

Inspector: Remove unnecessary const in argument list

Change-Id: I2eb3df7b8a50763141c5044c89b4c04b483ad151
Reviewed-by: default avatarAurindam Jana <aurindam.jana@digia.com>
parent 0fa18d48
...@@ -367,7 +367,7 @@ void QmlInspectorAdapter::updatePendingPreviewDocuments(QmlJS::Document::Ptr doc ...@@ -367,7 +367,7 @@ void QmlInspectorAdapter::updatePendingPreviewDocuments(QmlJS::Document::Ptr doc
preview->associateEditor(editor); preview->associateEditor(editor);
} }
void QmlInspectorAdapter::onSelectActionTriggered(const bool checked) void QmlInspectorAdapter::onSelectActionTriggered(bool checked)
{ {
QTC_ASSERT(toolsClient(), return); QTC_ASSERT(toolsClient(), return);
if (checked) { if (checked) {
...@@ -379,7 +379,7 @@ void QmlInspectorAdapter::onSelectActionTriggered(const bool checked) ...@@ -379,7 +379,7 @@ void QmlInspectorAdapter::onSelectActionTriggered(const bool checked)
} }
} }
void QmlInspectorAdapter::onZoomActionTriggered(const bool checked) void QmlInspectorAdapter::onZoomActionTriggered(bool checked)
{ {
QTC_ASSERT(toolsClient(), return); QTC_ASSERT(toolsClient(), return);
if (checked) { if (checked) {
...@@ -391,13 +391,13 @@ void QmlInspectorAdapter::onZoomActionTriggered(const bool checked) ...@@ -391,13 +391,13 @@ void QmlInspectorAdapter::onZoomActionTriggered(const bool checked)
} }
} }
void QmlInspectorAdapter::onShowAppOnTopChanged(const bool checked) void QmlInspectorAdapter::onShowAppOnTopChanged(bool checked)
{ {
QTC_ASSERT(toolsClient(), return); QTC_ASSERT(toolsClient(), return);
toolsClient()->showAppOnTop(checked); toolsClient()->showAppOnTop(checked);
} }
void QmlInspectorAdapter::onUpdateOnSaveChanged(const bool checked) void QmlInspectorAdapter::onUpdateOnSaveChanged(bool checked)
{ {
QTC_ASSERT(toolsClient(), return); QTC_ASSERT(toolsClient(), return);
for (QHash<QString, QmlLiveTextPreview *>::const_iterator it for (QHash<QString, QmlLiveTextPreview *>::const_iterator it
......
...@@ -95,10 +95,10 @@ private slots: ...@@ -95,10 +95,10 @@ private slots:
void removePreviewForEditor(Core::IEditor *editor); void removePreviewForEditor(Core::IEditor *editor);
void updatePendingPreviewDocuments(QmlJS::Document::Ptr doc); void updatePendingPreviewDocuments(QmlJS::Document::Ptr doc);
void onSelectActionTriggered(const bool checked); void onSelectActionTriggered(bool checked);
void onZoomActionTriggered(const bool checked); void onZoomActionTriggered(bool checked);
void onShowAppOnTopChanged(const bool checked); void onShowAppOnTopChanged(bool checked);
void onUpdateOnSaveChanged(const bool checked); void onUpdateOnSaveChanged(bool checked);
void onReload(); void onReload();
void onReloaded(); void onReloaded();
void onDestroyedObject(int); void onDestroyedObject(int);
......
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