From 9ef39acd5d211e5a8164bfb4a075e2e0cd6f9bee Mon Sep 17 00:00:00 2001 From: mio Date: Sun, 29 Sep 2024 19:20:32 +1000 Subject: Address -Wall warnings VideoWindow::ExposeEvent wasn't being used correctly; it should be a TQCustomEvent (although, the 3000 type is already being used for forwarding XINE_PROGRESS_EVENT). While the pts_per_smpls part never seemed to be encountered, it would have resulted in a floating point exception as it's always 0. Commented out to leave a hint as to what the code should be doing. Resolves: TDE/codeine#2 Signed-off-by: mio --- src/app/xineEngine.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/app/xineEngine.h') diff --git a/src/app/xineEngine.h b/src/app/xineEngine.h index d152a96..638bc01 100644 --- a/src/app/xineEngine.h +++ b/src/app/xineEngine.h @@ -136,8 +136,6 @@ namespace Codeine void becomePreferredSize(); TQImage captureFrame() const; - enum { ExposeEvent = 3000 }; - public slots: void resetZoom(); -- cgit v1.2.1