summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Čukić <[email protected]>2016-10-17 18:13:38 +0200
committerIvan Čukić <[email protected]>2016-10-17 18:13:38 +0200
commit9728508e90ab8c2e029b66ab2bfe63ae05d0d864 (patch)
tree5eb04aa0a2375dd7f7f08a0f5372c57476f3bbde
parentb08dea47c7fd0d698b549afd4bcdc6b8b117b4e1 (diff)
Fixed the shadowed variable error
-rw-r--r--libtaskmanager/launchertasksmodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtaskmanager/launchertasksmodel.cpp b/libtaskmanager/launchertasksmodel.cpp
index 8905d24..14e3377 100644
--- a/libtaskmanager/launchertasksmodel.cpp
+++ b/libtaskmanager/launchertasksmodel.cpp
@@ -455,9 +455,9 @@ bool LauncherTasksModel::requestRemoveLauncherFromActivity(const QUrl &url)
return d->requestRemoveLauncherFromActivities(url, { d->activities.currentActivity() });
}
-QStringList LauncherTasksModel::launcherActivities(const QUrl &url) const
+QStringList LauncherTasksModel::launcherActivities(const QUrl &_url) const
{
- const auto position = launcherPosition(url);
+ const auto position = launcherPosition(_url);
const auto url = d->launchersOrder.at(position);
return d->activitiesForLauncher.contains(url) ? d->activitiesForLauncher[url]