mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 06:35:08 -04:00
profile wasn't saved on first start
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3133 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4dc30963cb
commit
927f8639b7
4 changed files with 35 additions and 10 deletions
|
@ -61,7 +61,9 @@ int main(int argc, char *argv[])
|
|||
RsInit::InitRsConfig();
|
||||
bool okStart = RsInit::InitRetroShare(argc, argv);
|
||||
|
||||
/* create global settings object */
|
||||
/* create global settings object
|
||||
path maybe wrong, when no profile exist
|
||||
in this case it can be use only for default values */
|
||||
RshareSettings::Create ();
|
||||
|
||||
/*
|
||||
|
@ -132,6 +134,9 @@ int main(int argc, char *argv[])
|
|||
|
||||
rsicontrol->StartupRetroShare();
|
||||
|
||||
/* recreate global settings object, now with correct path */
|
||||
RshareSettings::Create ();
|
||||
|
||||
MainWindow *w = MainWindow::Create ();
|
||||
|
||||
// I'm using a signal to transfer the hashing info to the mainwindow, because Qt schedules signals properly to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue