summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2014-03-13 19:00:32 +0100
committerTannin <devnull@localhost>2014-03-13 19:00:32 +0100
commita82b7e99495a2a351a1e4a95381ca29225eb8424 (patch)
tree98bc6854073979cdd15aeb58a6b6bbf76e612d77 /src/mainwindow.cpp
parent0f8f7bf777a9201ec997675438801538e56df128 (diff)
- "CreateDirectory" will no longer create directories in original data directory
- bain installer will now be less picky about the archives supported - updated NCC to be compatible with more recent NMM code base - hack in NCC to allow it to install arbitrary sized files even in 32-bit builds - updated the python27.dll to one that links to msvcr100.dll to get rid of the dependency of msvcr90.dll - bugfix: dll search order wasn't set to allow plugins to load the correct qt dlls
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 4c66ccce..a39a497e 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -322,6 +322,9 @@ MainWindow::MainWindow(const QString &exeName, QSettings &initSettings, QWidget
m_Tutorial.expose("modList", &m_ModList);
m_Tutorial.expose("espList", &m_PluginList);
+
+ // before we start loading plugins we, add the dll path to the dll search order
+ ::SetDllDirectoryW(ToWString(QDir::toNativeSeparators(qApp->applicationDirPath() + "/dlls")).c_str());
loadPlugins();
}