mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-12 15:59:58 -05:00
Fix compiler warnings
This commit is contained in:
parent
f183260ad6
commit
b7546b45b3
@ -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…
Reference in New Issue
Block a user