@@ -53,7 +53,7 @@ void QgsAppDirectoryItemGuiProvider::populateContextMenu( QgsDataItem *item, QMe
53
53
54
54
QMenu *newMenu = new QMenu ( tr ( " New" ), menu );
55
55
56
- QAction *createFolder = new QAction ( tr ( " Directory…" ), menu );
56
+ QAction *createFolder = new QAction ( QgsApplication::getThemeIcon ( QStringLiteral ( " mActionNewFolder.svg " ) ), tr ( " Directory…" ), menu );
57
57
connect ( createFolder, &QAction::triggered, this , [ = ]
58
58
{
59
59
bool ok = false ;
@@ -168,7 +168,7 @@ void QgsAppDirectoryItemGuiProvider::populateContextMenu( QgsDataItem *item, QMe
168
168
169
169
menu->addSeparator ();
170
170
171
- QAction *openFolder = new QAction ( tr ( " Open Directory…" ), menu );
171
+ QAction *openFolder = new QAction ( QgsApplication::getThemeIcon ( QStringLiteral ( " mIconFolder24.svg " ) ), tr ( " Open Directory…" ), menu );
172
172
connect ( openFolder, &QAction::triggered, this , [ = ]
173
173
{
174
174
QDesktopServices::openUrl ( QUrl::fromLocalFile ( directoryItem->dirPath () ) );
@@ -177,7 +177,7 @@ void QgsAppDirectoryItemGuiProvider::populateContextMenu( QgsDataItem *item, QMe
177
177
178
178
if ( QgsGui::instance ()->nativePlatformInterface ()->capabilities () & QgsNative::NativeOpenTerminalAtPath )
179
179
{
180
- QAction *openTerminal = new QAction ( tr ( " Open in Terminal…" ), menu );
180
+ QAction *openTerminal = new QAction ( QgsApplication::getThemeIcon ( QStringLiteral ( " mActionTerminal.svg " ) ), tr ( " Open in Terminal…" ), menu );
181
181
connect ( openTerminal, &QAction::triggered, this , [ = ]
182
182
{
183
183
QgsGui::instance ()->nativePlatformInterface ()->openTerminalAtPath ( directoryItem->dirPath () );
0 commit comments