mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
added Chrome bookmarks path for OS X (#2110)
* added Chrome bookmarks path for OS X
This commit is contained in:
parent
d671039e9f
commit
89d633d957
@ -36,8 +36,10 @@ QString ChromeImporter::description() const
|
|||||||
|
|
||||||
QString ChromeImporter::standardPath() const
|
QString ChromeImporter::standardPath() const
|
||||||
{
|
{
|
||||||
#ifdef Q_OS_WIN
|
#if defined(Q_OS_WIN)
|
||||||
return QString("%APPDATA%/Chrome/");
|
return QString("%APPDATA%/Chrome/");
|
||||||
|
#elif defined(Q_OS_OSX)
|
||||||
|
return QDir::homePath() + QLatin1String("/Library/Application Support/Google/Chrome/");
|
||||||
#else
|
#else
|
||||||
return QDir::homePath() + QLatin1String("/.config/chrome/");
|
return QDir::homePath() + QLatin1String("/.config/chrome/");
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user