Skip to content

Commit 144dd15

Browse files
committed
fix d679581
1 parent c962ad2 commit 144dd15

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

python/core/auto_generated/qgsapplication.sip.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ for resources in their own datastores e.g. a Qt4 resource bundle.
143143
be reverted to 'default'.
144144
%End
145145

146-
static QString resolvePkgPath( );
146+
static QString resolvePkgPath();
147147
%Docstring
148148
Calculate the application pkg path
149149

@@ -810,7 +810,7 @@ The maximum number of concurrent connections per connections pool.
810810
.. versionadded:: 3.4
811811
%End
812812

813-
static void setTranslation( QString translation );
813+
static void setTranslation( const QString &translation );
814814
%Docstring
815815
Set translation
816816

src/core/qgsapplication.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ class CORE_EXPORT QgsApplication : public QApplication
192192
* Calculate the application pkg path
193193
* \return the resolved pkg path
194194
*/
195-
static QString resolvePkgPath( );
195+
static QString resolvePkgPath();
196196

197197
/**
198198
* Set the active theme to the specified theme.
@@ -748,7 +748,7 @@ class CORE_EXPORT QgsApplication : public QApplication
748748
*
749749
* \since QGIS 3.4
750750
*/
751-
static void setTranslation( QString translation ) { sTranslation = translation; }
751+
static void setTranslation( const QString &translation ) { sTranslation = translation; }
752752

753753
/**
754754
* Emits the signal to collect all the strings of .qgs to be included in ts file

0 commit comments

Comments
 (0)