mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Folders need to be setup before initializing the GUI
This fixes the incomplete context menu
This commit is contained in:
parent
08665d6ac2
commit
ec850e83b9
1 changed files with 6 additions and 6 deletions
|
@ -94,12 +94,6 @@ Application::Application(int &argc, char **argv) :
|
||||||
//no need to waste time;
|
//no need to waste time;
|
||||||
if ( _helpOnly ) return;
|
if ( _helpOnly ) return;
|
||||||
|
|
||||||
_gui = new ownCloudGui(this);
|
|
||||||
if( _showLogWindow ) {
|
|
||||||
_gui->slotToggleLogBrowser(); // _showLogWindow is set in parseOptions.
|
|
||||||
}
|
|
||||||
connect( _gui, SIGNAL(setupProxy()), SLOT(slotSetupProxy()));
|
|
||||||
|
|
||||||
setupLogging();
|
setupLogging();
|
||||||
setupTranslations();
|
setupTranslations();
|
||||||
|
|
||||||
|
@ -125,6 +119,12 @@ Application::Application(int &argc, char **argv) :
|
||||||
FolderMan::instance()->setupFolders();
|
FolderMan::instance()->setupFolders();
|
||||||
slotSetupProxy(); // folders have to be defined first.
|
slotSetupProxy(); // folders have to be defined first.
|
||||||
|
|
||||||
|
_gui = new ownCloudGui(this);
|
||||||
|
if( _showLogWindow ) {
|
||||||
|
_gui->slotToggleLogBrowser(); // _showLogWindow is set in parseOptions.
|
||||||
|
}
|
||||||
|
connect( _gui, SIGNAL(setupProxy()), SLOT(slotSetupProxy()));
|
||||||
|
|
||||||
// startup procedure.
|
// startup procedure.
|
||||||
QTimer::singleShot( 0, this, SLOT( slotCheckConnection() ));
|
QTimer::singleShot( 0, this, SLOT( slotCheckConnection() ));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue