Update bookmarks location

Signed-off-by: renyhp <renyhp@disroot.org>
This commit is contained in:
renyhp 2020-10-10 16:15:26 +02:00 committed by Kevin Ottens (Rebase PR Action)
parent 3c986ead91
commit e5b307c81f

View file

@ -24,7 +24,7 @@ namespace OCC {
static void setupFavLink_private(const QString &folder)
{
// Nautilus: add to ~/.gtk-bookmarks
QFile gtkBookmarks(QDir::homePath() + QLatin1String("/.gtk-bookmarks"));
QFile gtkBookmarks(QDir::homePath() + QLatin1String("/.config/gtk-3.0/bookmarks"));
QByteArray folderUrl = "file://" + folder.toUtf8();
if (gtkBookmarks.open(QFile::ReadWrite)) {
QByteArray places = gtkBookmarks.readAll();