diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2012-06-21 17:01:14 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-22 04:43:54 +0200 |
commit | 5ac47a3909762e62b054a951adb6b5771cc6d0eb (patch) | |
tree | 21155ab756fde2cd595691666fcfbe700ef15e05 /src/imports/folderlistmodel/fileinfothread_p.h | |
parent | 25f6f5bedec23756b83152a4952ade1d94493350 (diff) |
Don't shadow member variable with argument.
Function argument is being written to itself rather than the member
variable preventing the property from ever changing.
Task-number: QTBUG-26158
Change-Id: Id204a193300c62feeb007a2ea9df89cba5e1d513
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
Diffstat (limited to 'src/imports/folderlistmodel/fileinfothread_p.h')
-rw-r--r-- | src/imports/folderlistmodel/fileinfothread_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/folderlistmodel/fileinfothread_p.h b/src/imports/folderlistmodel/fileinfothread_p.h index d144f520d0..8ff59488ea 100644 --- a/src/imports/folderlistmodel/fileinfothread_p.h +++ b/src/imports/folderlistmodel/fileinfothread_p.h @@ -71,7 +71,7 @@ public: void setSortFlags(QDir::SortFlags flags); void setNameFilters(const QStringList & nameFilters); void setShowDirs(bool showFolders); - void setShowDirsFirst(bool showDirsFirst); + void setShowDirsFirst(bool show); void setShowDotDot(bool on); void setShowOnlyReadable(bool on); |