File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/plugins/evis/databaseconnection Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -84,10 +84,9 @@ eVisDatabaseConnectionGui::eVisDatabaseConnectionGui( QList<QTemporaryFile *> *t
84
84
cboxPredefinedQueryList->insertItem ( 0 , tr ( " No predefined queries loaded" ) );
85
85
86
86
// set icons
87
- QString myThemePath = QgsApplication::activeThemePath ();
88
- pbtnOpenFile->setIcon ( QIcon ( QPixmap ( myThemePath + " /mActionFolder.svg" ) ) );
87
+ pbtnOpenFile->setIcon ( QIcon ( QgsApplication::getThemeIcon ( QStringLiteral ( " /mActionFolder.svg" ) ) ) );
89
88
pbtnOpenFile->setToolTip ( tr ( " Open File" ) );
90
- pbtnLoadPredefinedQueries->setIcon ( QIcon ( QPixmap ( myThemePath + " /mActionFolder.svg" ) ) );
89
+ pbtnLoadPredefinedQueries->setIcon ( QIcon ( QgsApplication::getThemeIcon ( QStringLiteral ( " /mActionFolder.svg" ) ) ) );
91
90
pbtnLoadPredefinedQueries->setToolTip ( tr ( " Open File" ) );
92
91
}
93
92
You can’t perform that action at this time.
0 commit comments