summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--controller.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/controller.cxx b/controller.cxx
index 16397f1..5c59906 100644
--- a/controller.cxx
+++ b/controller.cxx
@@ -59,9 +59,7 @@ Controller::Controller(QObject* parent)
}
});
- connect(this, static_cast<void (Controller::*)(QString const&)>
- (&Controller::checked)
- , client, &Client::searchTicket);
+ connect(this, &Controller::checked, client, &Client::searchTicket);
connect(client, &Client::searchedTicket, ticketList, &TicketList::update);