From 4149ce4cdb43fdf5c4ac6cd9cd317912fe40d683 Mon Sep 17 00:00:00 2001 From: ZachHaber Date: Tue, 17 Jan 2017 16:30:42 -0600 Subject: Fixing overwrite problems Changes the organizerproxy to pull from the settings rather than try and figure it out on its own. --- src/organizerproxy.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/organizerproxy.cpp') diff --git a/src/organizerproxy.cpp b/src/organizerproxy.cpp index b6dbd242..cf2e29e3 100644 --- a/src/organizerproxy.cpp +++ b/src/organizerproxy.cpp @@ -37,9 +37,15 @@ QString OrganizerProxy::downloadsPath() const QString OrganizerProxy::overwritePath() const { - return QDir::fromNativeSeparators(qApp->property("dataPath").toString()) + /*return QDir::fromNativeSeparators(qApp->property("dataPath").toString()) + "/" - + ToQString(AppConfig::overwritePath()); + + ToQString(AppConfig::overwritePath());*/ + return m_Proxied->overwritePath(); +} + +QString OrganizerProxy::basePath() const +{ + return m_Proxied->basePath(); } VersionInfo OrganizerProxy::appVersion() const -- cgit v1.3.1