fix clippy

This commit is contained in:
Ferdinand Schober
2024-10-08 17:52:45 +02:00
parent 4a64a97273
commit b6c2cfe8a6
8 changed files with 44 additions and 28 deletions

View File

@@ -12,6 +12,12 @@ glib::wrapper! {
@implements gtk::Accessible, gtk::Actionable, gtk::Buildable, gtk::ConstraintTarget;
}
impl Default for KeyRow {
fn default() -> Self {
Self::new()
}
}
impl KeyRow {
pub fn new() -> Self {
Object::builder().build()

View File

@@ -142,8 +142,8 @@ fn build_ui(app: &Application) {
FrontendEvent::PublicKeyFingerprint(fp) => {
window.set_pk_fp(&fp);
}
FrontendEvent::IncomingConnected(fp, addr, pos) => {}
FrontendEvent::IncomingDisconnected(fp) => {}
FrontendEvent::IncomingConnected(..) => {}
FrontendEvent::IncomingDisconnected(..) => {}
}
}
}