1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

added Chrome bookmarks path for OS X (#2110)

* added Chrome bookmarks path for OS X
This commit is contained in:
ravas 2016-10-29 01:50:39 -07:00 committed by David Rosca
parent d671039e9f
commit 89d633d957

View File

@ -36,8 +36,10 @@ QString ChromeImporter::description() const
QString ChromeImporter::standardPath() const
{
#ifdef Q_OS_WIN
#if defined(Q_OS_WIN)
return QString("%APPDATA%/Chrome/");
#elif defined(Q_OS_OSX)
return QDir::homePath() + QLatin1String("/Library/Application Support/Google/Chrome/");
#else
return QDir::homePath() + QLatin1String("/.config/chrome/");
#endif