Skip to content

Commit

Permalink
use native separators for menu items
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Aug 18, 2020
1 parent 92dafd6 commit 602011a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/browser/qgsinbuiltdataitemproviders.cpp
Expand Up @@ -179,7 +179,7 @@ void QgsAppDirectoryItemGuiProvider::populateContextMenu( QgsDataItem *item, QMe
const QStringList hiddenPathList = settings.value( QStringLiteral( "/browser/hiddenPaths" ) ).toStringList();
for ( const QString &path : hiddenPathList )
{
QAction *action = new QAction( path, hiddenMenu );
QAction *action = new QAction( QDir::toNativeSeparators( path ), hiddenMenu );
connect( action, &QAction::triggered, this, [ = ]
{
QgsSettings s;
Expand Down

0 comments on commit 602011a

Please sign in to comment.