mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-04 12:49:28 -04: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
1 changed files with 5 additions and 0 deletions
|
@ -89,6 +89,11 @@ static void displayWarningAboutDSAKeys()
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
#ifdef WINDOWS_SYS
|
#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,
|
/* Set the current directory to the application dir,
|
||||||
because the start dir with autostart from the registry run key is not the exe dir */
|
because the start dir with autostart from the registry run key is not the exe dir */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue