Skip to content
Permalink
Browse files

[eVis] Display the icons in the dialog

  • Loading branch information
DelazJ authored and nyalldawson committed May 17, 2020
1 parent 2f42d48 commit cca23c6bbf7f98f399cb83ac6fbc171f7722eac6
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/plugins/evis/databaseconnection/evisdatabaseconnectiongui.cpp
@@ -84,10 +84,9 @@ eVisDatabaseConnectionGui::eVisDatabaseConnectionGui( QList<QTemporaryFile *> *t
cboxPredefinedQueryList->insertItem( 0, tr( "No predefined queries loaded" ) );

//set icons
QString myThemePath = QgsApplication::activeThemePath();
pbtnOpenFile->setIcon( QIcon( QPixmap( myThemePath + "/mActionFolder.svg" ) ) );
pbtnOpenFile->setIcon( QIcon( QgsApplication::getThemeIcon( QStringLiteral( "/mActionFolder.svg" ) ) ) );
pbtnOpenFile->setToolTip( tr( "Open File" ) );
pbtnLoadPredefinedQueries->setIcon( QIcon( QPixmap( myThemePath + "/mActionFolder.svg" ) ) );
pbtnLoadPredefinedQueries->setIcon( QIcon( QgsApplication::getThemeIcon( QStringLiteral( "/mActionFolder.svg" ) ) ) );
pbtnLoadPredefinedQueries->setToolTip( tr( "Open File" ) );
}

0 comments on commit cca23c6

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