mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-24 22:50:57 -04:00
Fix compiler warnings
This commit is contained in:
parent
f183260ad6
commit
b7546b45b3
1 changed files with 4 additions and 0 deletions
|
@ -84,6 +84,8 @@ bool Service::isDatabaseOpened() const
|
||||||
case DatabaseWidget::ViewMode:
|
case DatabaseWidget::ViewMode:
|
||||||
case DatabaseWidget::EditMode:
|
case DatabaseWidget::EditMode:
|
||||||
return true;
|
return true;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -101,6 +103,8 @@ bool Service::openDatabase()
|
||||||
case DatabaseWidget::ViewMode:
|
case DatabaseWidget::ViewMode:
|
||||||
case DatabaseWidget::EditMode:
|
case DatabaseWidget::EditMode:
|
||||||
return true;
|
return true;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//if (HttpSettings::showNotification()
|
//if (HttpSettings::showNotification()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue