Skip to content
Permalink
Browse files

getter return not-const list of errors

  • Loading branch information
elpaso committed Nov 6, 2017
1 parent af57600 commit b57ec46aa0f5291256098217295be3d08e963b77
Showing with 2 additions and 3 deletions.
  1. +1 −1 python/core/qgserror.sip
  2. +0 −1 src/app/qgsversionmigration.cpp
  3. +1 −1 src/core/qgserror.h
@@ -123,7 +123,7 @@ class QgsError
Clear error messages
%End

const QList<QgsErrorMessage> messageList() const;
QList<QgsErrorMessage> messageList() const;
%Docstring
messageList return the list of current error messages
:return: current list of error messages
@@ -279,7 +279,6 @@ QgsError Qgs2To3Migration::migrateAuthDb()
QString msg = QStringLiteral( "Could not copy old auth DB to %1: file already exists!" ).arg( newAuthDbFilePath );
QgsDebugMsg( msg );
error.append( msg );

}
else
{
@@ -132,7 +132,7 @@ class CORE_EXPORT QgsError
* \brief messageList return the list of current error messages
* \return current list of error messages
*/
const QList<QgsErrorMessage> messageList() const { return mMessageList; }
QList<QgsErrorMessage> messageList() const { return mMessageList; }

private:
//! List of messages

0 comments on commit b57ec46

Please sign in to comment.
You can’t perform that action at this time.