mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 13:35:58 +03:00
Update bookmarks location
Signed-off-by: renyhp <renyhp@disroot.org>
This commit is contained in:
parent
3c986ead91
commit
e5b307c81f
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue