diff options
Diffstat (limited to 'examples/embedded/desktopservices/contenttab.cpp')
-rw-r--r-- | examples/embedded/desktopservices/contenttab.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/embedded/desktopservices/contenttab.cpp b/examples/embedded/desktopservices/contenttab.cpp index 49c1260..d1a2832 100644 --- a/examples/embedded/desktopservices/contenttab.cpp +++ b/examples/embedded/desktopservices/contenttab.cpp @@ -66,7 +66,7 @@ ContentTab::~ContentTab() } // NEW PUBLIC METHODS -void ContentTab::init(const QDesktopServices::StandardLocation &location, +void ContentTab::init(const QStandardPaths::StandardLocation &location, const QString &filter, const QString &icon) { @@ -83,9 +83,9 @@ void ContentTab::init(const QDesktopServices::StandardLocation &location, } // NEW PROTECTED METHODS -void ContentTab::setContentDir(const QDesktopServices::StandardLocation &location) +void ContentTab::setContentDir(const QStandardPaths::StandardLocation &location) { - m_ContentDir.setPath(QDesktopServices::storageLocation(location)); + m_ContentDir.setPath(QStandardPaths::writableLocation(location)); } void ContentTab::setIcon(const QString &icon) |