summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
diff options
context:
space:
mode:
authorZachHaber <zhaber2@illinois.edu>2017-01-17 16:30:42 -0600
committerZachHaber <zhaber2@illinois.edu>2017-01-17 16:30:42 -0600
commit4149ce4cdb43fdf5c4ac6cd9cd317912fe40d683 (patch)
tree63a3bfc7b9e7a0ff0d0a632a9de92a7f4e529a85 /src/organizercore.cpp
parentf2b33d75cb147965306e075f0b921cbad6c04334 (diff)
Fixing overwrite problems
Changes the organizerproxy to pull from the settings rather than try and figure it out on its own.
Diffstat (limited to 'src/organizercore.cpp')
-rw-r--r--src/organizercore.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp
index 55d3f494..d9ed6ab6 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -703,6 +703,16 @@ QString OrganizerCore::downloadsPath() const
return QDir::fromNativeSeparators(m_Settings.getDownloadDirectory());
}
+QString OrganizerCore::overwritePath() const
+{
+ return QDir::fromNativeSeparators(m_Settings.getOverwriteDirectory());
+}
+
+QString OrganizerCore::basePath() const
+{
+ return QDir::fromNativeSeparators(m_Settings.getBaseDirectory());
+}
+
MOBase::VersionInfo OrganizerCore::appVersion() const
{
return m_Updater.getVersion();