mirror of
https://github.com/ModOrganizer2/modorganizer-nxmhandler.git
synced 2026-07-27 14:03:41 -07:00
Revert "Moving things around"
This commit is contained in:
@@ -203,25 +203,8 @@ static void applyChromeFix()
|
||||
}
|
||||
}
|
||||
|
||||
void setupPath()
|
||||
{
|
||||
static const int buffSize = 4096;
|
||||
|
||||
std::wstring oldPath;
|
||||
oldPath.resize(buffSize);
|
||||
oldPath.resize(::GetEnvironmentVariableW(L"PATH", oldPath.data(), oldPath.size()));
|
||||
|
||||
std::wstring newPath(ToWString(QDir::toNativeSeparators(QDir::currentPath())));
|
||||
newPath += L"\\dlls;";
|
||||
newPath += oldPath.data();
|
||||
::SetEnvironmentVariableW(L"PATH", newPath.c_str());
|
||||
}
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
// This must be set before the application constructor
|
||||
setupPath();
|
||||
|
||||
QApplication app(argc, argv);
|
||||
|
||||
try {
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
[Paths]
|
||||
Prefix=.
|
||||
Libraries=dlls
|
||||
LibraryExecutables=dlls
|
||||
Plugins=dlls
|
||||
Imports=dlls
|
||||
Qml2Imports=dlls
|
||||
Translations=resources/translations
|
||||
@@ -1,5 +0,0 @@
|
||||
<RCC>
|
||||
<qresource prefix="/qt/etc">
|
||||
<file>qt.conf</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
Reference in New Issue
Block a user