mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 05:15:40 +03:00
folderwizard: fix possible use of null pointer
Coverity issue 12907
This commit is contained in:
parent
83171bf025
commit
1e788d3d60
1 changed files with 1 additions and 1 deletions
|
@ -170,8 +170,8 @@ bool FolderWizardLocalPath::isComplete() const
|
|||
bool goon = true;
|
||||
while( goon && i != map.constEnd() ) {
|
||||
Folder *f = i.value();
|
||||
qDebug() << "Checking local alias: " << f->alias();
|
||||
if( f ) {
|
||||
qDebug() << "Checking local alias: " << f->alias();
|
||||
if( f->alias() == alias ) {
|
||||
warnStrings.append( tr("The alias <i>%1</i> is already in use. Please pick another alias.").arg(alias) );
|
||||
isOk = false;
|
||||
|
|
Loading…
Reference in a new issue