Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[eVis] Display the icons in the dialog
  • Loading branch information
DelazJ authored and nyalldawson committed May 18, 2020
1 parent 2f42d48 commit cca23c6
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -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" ) );
}

Expand Down

0 comments on commit cca23c6

Please sign in to comment.