|
|
@ -30,6 +30,7 @@
|
|
|
|
#include <components/esm3/loadtes3.hpp>
|
|
|
|
#include <components/esm3/loadtes3.hpp>
|
|
|
|
#include <components/fallback/fallback.hpp>
|
|
|
|
#include <components/fallback/fallback.hpp>
|
|
|
|
#include <components/fallback/validate.hpp>
|
|
|
|
#include <components/fallback/validate.hpp>
|
|
|
|
|
|
|
|
#include <components/files/conversion.hpp>
|
|
|
|
#include <components/files/qtconversion.hpp>
|
|
|
|
#include <components/files/qtconversion.hpp>
|
|
|
|
#include <components/misc/rng.hpp>
|
|
|
|
#include <components/misc/rng.hpp>
|
|
|
|
#include <components/nifosg/nifloader.hpp>
|
|
|
|
#include <components/nifosg/nifloader.hpp>
|
|
|
@ -45,7 +46,7 @@ CS::Editor::Editor(int argc, char** argv)
|
|
|
|
, mSettingsState(mCfgMgr)
|
|
|
|
, mSettingsState(mCfgMgr)
|
|
|
|
, mDocumentManager(mCfgMgr)
|
|
|
|
, mDocumentManager(mCfgMgr)
|
|
|
|
, mPid(std::filesystem::temp_directory_path() / "openmw-cs.pid")
|
|
|
|
, mPid(std::filesystem::temp_directory_path() / "openmw-cs.pid")
|
|
|
|
, mLockFile(QFileInfo(QString::fromStdString(mPid.string())).absoluteFilePath() + ".lock")
|
|
|
|
, mLockFile(QFileInfo(QString::fromStdString(Files::pathToUnicodeString(mPid))).absoluteFilePath() + ".lock")
|
|
|
|
, mMerge(mDocumentManager)
|
|
|
|
, mMerge(mDocumentManager)
|
|
|
|
, mIpcServerName("org.openmw.OpenCS")
|
|
|
|
, mIpcServerName("org.openmw.OpenCS")
|
|
|
|
, mServer(nullptr)
|
|
|
|
, mServer(nullptr)
|
|
|
|