mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-25 05:45:42 +03:00
Fix QT_STRICT_ITERATOR errors
This commit is contained in:
parent
b349caeab1
commit
097be61c9f
1 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ bool FolderWizardSourcePage::isComplete() const
|
|||
if( ! map ) return false;
|
||||
|
||||
if( isOk ) {
|
||||
Folder::Map::const_iterator i = map->begin();
|
||||
Folder::Map::const_iterator i = map->constBegin();
|
||||
while( isOk && i != map->constEnd() ) {
|
||||
Folder *f = static_cast<Folder*>(i.value());
|
||||
QString folderDir = QDir( f->path() ).canonicalPath();
|
||||
|
@ -110,7 +110,7 @@ bool FolderWizardSourcePage::isComplete() const
|
|||
isOk = false;
|
||||
}
|
||||
|
||||
Folder::Map::const_iterator i = map->begin();
|
||||
Folder::Map::const_iterator i = map->constBegin();
|
||||
bool goon = true;
|
||||
while( goon && i != map->constEnd() ) {
|
||||
Folder *f = static_cast<Folder*>(i.value());
|
||||
|
|
Loading…
Reference in a new issue