diff options
-rw-r--r-- | client.cxx | 1 | ||||
m--------- | librtclient | 0 | ||||
-rw-r--r-- | ticket.cxx | 5 | ||||
-rw-r--r-- | user.cxx | 1 |
4 files changed, 5 insertions, 2 deletions
@@ -1,5 +1,6 @@ #include <QStringBuilder> #include <rtclient/client.h> +#include <rtclient/ticket.h> #include "qrtclient/client.hxx" namespace RTClient { diff --git a/librtclient b/librtclient -Subproject c6d5739028f2337bd0418084a319705bd5b8984 +Subproject 0898723a7387f8e5d3086dd9511d88561ccc259 @@ -1,4 +1,5 @@ -#include <rtclient/client.h> +#include <cstddef> +#include <rtclient/ticket.h> #include "qrtclient/ticket.hxx" namespace RTClient { @@ -41,7 +42,7 @@ namespace RTClient { void TicketList::update(rtclient_ticketlist* ticketList) { - for (unsigned int i = 0; i < ticketList->length; i++) + for (size_t i = 0; i < ticketList->length; i++) addTicket(Ticket{ticketList->tickets[i]}); rtclient_ticket_freelist(ticketList); emit updated(); @@ -1,3 +1,4 @@ +#include <cstddef> #include <rtclient/client.h> #include "qrtclient/user.hxx" |