diff options
| author | Tannin <sherb@gmx.net> | 2016-01-10 20:19:56 +0100 |
|---|---|---|
| committer | Tannin <sherb@gmx.net> | 2016-01-10 20:19:56 +0100 |
| commit | 2aae65d6f6c1ab3309e54437a339d1644088c5c8 (patch) | |
| tree | b693c455a4433370724cfbaa23a66998a16027a9 /src/selfupdater.cpp | |
| parent | ddf841400ef4da235f11e9b67177a78bb3d519d4 (diff) | |
made instance-switching usable
this includes tons and tons of changes to how paths are determined.
the profiles-dir can now also be configured
Diffstat (limited to 'src/selfupdater.cpp')
| -rw-r--r-- | src/selfupdater.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selfupdater.cpp b/src/selfupdater.cpp index 0cfd7f08..ae75b9cb 100644 --- a/src/selfupdater.cpp +++ b/src/selfupdater.cpp @@ -65,7 +65,7 @@ SelfUpdater::SelfUpdater(NexusInterface *nexusInterface) , m_Attempts(3)
, m_NexusDownload(nullptr)
{
- QLibrary archiveLib("dlls\\archive.dll");
+ QLibrary archiveLib(QCoreApplication::applicationDirPath() + "\\dlls\\archive.dll");
if (!archiveLib.load()) {
throw MyException(tr("archive.dll not loaded: \"%1\"").arg(archiveLib.errorString()));
}
|
