mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 04:55:48 +03:00
Merge pull request #3901 from nextcloud/bugfix/win-remove-cwd-from-dll-search-path
Windows. Remove CWD from DLL search paths.
This commit is contained in:
commit
426fd2238d
2 changed files with 6 additions and 0 deletions
|
@ -310,6 +310,9 @@ void selectiveSyncFixup(OCC::SyncJournalDb *journal, const QStringList &newList)
|
|||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
#ifdef Q_OS_WIN
|
||||
SetDllDirectory(L"");
|
||||
#endif
|
||||
QCoreApplication app(argc, argv);
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
|
|
|
@ -57,6 +57,9 @@ void warnSystray()
|
|||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
#ifdef Q_OS_WIN
|
||||
SetDllDirectory(L"");
|
||||
#endif
|
||||
Q_INIT_RESOURCE(resources);
|
||||
Q_INIT_RESOURCE(theme);
|
||||
|
||||
|
|
Loading…
Reference in a new issue