Skip to content

Commit

Permalink
WinTimerInfo: reshuffle members, save 8 bytes
Browse files Browse the repository at this point in the history
Change-Id: I95e15388efaf2265f6eb4a12141c0afd3b032677
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
  • Loading branch information
Morten242 committed Oct 3, 2024
1 parent bc5b7e2 commit d7af695
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/corelib/kernel/qeventdispatcher_win_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@ struct QSockFd {
typedef QHash<qintptr, QSockFd> QSFDict;

struct WinTimerInfo { // internal timer info
QObject *dispatcher;
int timerId;
qint64 interval;
Qt::TimerType timerType;
quint64 timeout; // - when to actually fire
QObject *dispatcher;
QObject *obj; // - object to receive events
bool inTimerEvent;
int timerId;
Qt::TimerType timerType;
UINT fastTimerId;
bool inTimerEvent;
};

class QZeroTimerEvent : public QTimerEvent
Expand Down

0 comments on commit d7af695

Please sign in to comment.