Skip to content

Commit

Permalink
followup 9664103: synchronize initializeMainWindow parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Aug 8, 2018
1 parent 9664103 commit f145631
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/native/linux/qgslinuxnative.cpp
Expand Up @@ -29,7 +29,10 @@ QgsNative::Capabilities QgsLinuxNative::capabilities() const
return NativeDesktopNotifications;
}

void QgsLinuxNative::initializeMainWindow( QWindow * )
void QgsLinuxNative::initializeMainWindow( QWindow *,
const QString &,
const QString &,
const QString & )
{
// Hardcoded desktop file value matching our official .deb packages
mDesktopFile = QStringLiteral( "qgis.desktop" );
Expand Down
5 changes: 4 additions & 1 deletion src/native/linux/qgslinuxnative.h
Expand Up @@ -34,7 +34,10 @@ class NATIVE_EXPORT QgsLinuxNative : public QgsNative
{
public:
QgsNative::Capabilities capabilities() const override;
void initializeMainWindow( QWindow *window ) override;
void initializeMainWindow( QWindow *window,
const QString &applicationName,
const QString &organizationName,
const QString &version ) override;
void openFileExplorerAndSelectFile( const QString &path ) override;
void showUndefinedApplicationProgress() override;
void setApplicationProgress( double progress ) override;
Expand Down

0 comments on commit f145631

Please sign in to comment.