mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-18 05:44:14 -05:00
Added a quick fix for the freeze of RetroShare when using a file dialog on Windows.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5492 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
ca1055da90
commit
1723bc1cde
@ -89,6 +89,11 @@ static void displayWarningAboutDSAKeys()
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
#ifdef WINDOWS_SYS
|
||||
// The current directory of the application is changed when using the native dialog on Windows
|
||||
// This is a quick fix until libretroshare is using a absolute path in the portable Version
|
||||
extern bool Q_GUI_EXPORT qt_use_native_dialogs;
|
||||
qt_use_native_dialogs = false;
|
||||
|
||||
{
|
||||
/* Set the current directory to the application dir,
|
||||
because the start dir with autostart from the registry run key is not the exe dir */
|
||||
|
Loading…
x
Reference in New Issue
Block a user