Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
getter return not-const list of errors
- Loading branch information
Showing
with
2 additions
and
3 deletions.
-
+1
−1
python/core/qgserror.sip
-
+0
−1
src/app/qgsversionmigration.cpp
-
+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 |
|
|