Skip to content
Permalink
Browse files

use native separators for menu items

  • Loading branch information
alexbruy committed Aug 18, 2020
1 parent 92dafd6 commit 602011a129923a7e4fd39c2f16305589eeaea656
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/browser/qgsinbuiltdataitemproviders.cpp
@@ -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;

0 comments on commit 602011a

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