From a5056e15512b219d7dbbb902feb89362e614891e Mon Sep 17 00:00:00 2001 From: David Capello Date: Sun, 10 Jul 2011 00:44:48 -0300 Subject: [PATCH] Fix issue #29: error using a non-const reference as parameter in NullableIterator::setIterator() when a const-reference is the expected type. --- src/dialogs/filesel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dialogs/filesel.cpp b/src/dialogs/filesel.cpp index 9205b9ce3..a07b31a70 100644 --- a/src/dialogs/filesel.cpp +++ b/src/dialogs/filesel.cpp @@ -68,7 +68,7 @@ public: return m_iterator; } - void setIterator(iterator& it) { + void setIterator(const iterator& it) { m_isNull = false; m_iterator = it; }