-
Notifications
You must be signed in to change notification settings - Fork 669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collection of work to improve efficiency of app #12081
base: master
Are you sure you want to change the base?
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
@@ -924,6 +923,9 @@ void Folder::startSync() | |||
Q_ASSERT(isReady()); | |||
Q_ASSERT(_folderWatcher); | |||
|
|||
if (!isReady() || !_folderWatcher) | |||
return; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed to have a log statement here ....
@@ -984,6 +986,9 @@ void Folder::startSync() | |||
void Folder::setDirtyNetworkLimits() | |||
{ | |||
Q_ASSERT(isReady()); | |||
if (!isReady()) | |||
return; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed to have a log statement here ....
src/gui/folder.cpp
Outdated
@@ -1365,6 +1369,8 @@ QString FolderDefinition::spaceId() const | |||
// we might call the function to check for the id | |||
// anyhow one of the conditions needs to be true | |||
Q_ASSERT(_webDavUrl.isValid() || !_spaceId.isEmpty()); | |||
if (!_webDavUrl.isValid() || _spaceId.isEmpty()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed to have a log statement here ....
…derMan named migrateFolderDefinition improved loading from config to only save the extracted FolderDefintions if they were migrated started prepping for deeper cuts related to Folder::saveToSettings, plus overhaul of impl and uses of FolderMan::addFolderFromFolderWizardResult and addFolderFromWizard
Client crashed when squish tries to run client. Crash stracktrace and client logs are here: |
This branch will include some refactoring work to improve the efficiency of the app. First task is to reduce the number of calls to QSettings::sync(), and possibly refactor the update behavior of the FolderStatusModel