mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-28 07:54:49 +03:00
owncloud gui: move a comment where it belongs
The code was moved long time ago in commit ea1c95100
but the comment
stayed. I have no idea if the comment is still accurate
This commit is contained in:
parent
23dc464ea2
commit
ac855858de
2 changed files with 3 additions and 2 deletions
|
@ -228,8 +228,6 @@ void Application::slotAccountStateAdded(AccountState *accountState)
|
|||
|
||||
void Application::slotCleanup()
|
||||
{
|
||||
// explicitly close windows. This is somewhat of a hack to ensure
|
||||
// that saving the geometries happens ASAP during a OS shutdown
|
||||
AccountManager::instance()->save();
|
||||
FolderMan::instance()->unloadAndDeleteAllFolders();
|
||||
|
||||
|
|
|
@ -567,6 +567,9 @@ void ownCloudGui::slotShowSyncProtocol()
|
|||
|
||||
void ownCloudGui::slotShutdown()
|
||||
{
|
||||
// explicitly close windows. This is somewhat of a hack to ensure
|
||||
// that saving the geometries happens ASAP during a OS shutdown
|
||||
|
||||
// those do delete on close
|
||||
if (!_settingsDialog.isNull()) _settingsDialog->close();
|
||||
if (!_logBrowser.isNull()) _logBrowser->deleteLater();
|
||||
|
|
Loading…
Reference in a new issue