From 58d6b07352b032774873c666964de2afd6e3f58c Mon Sep 17 00:00:00 2001 From: bluebrother Date: Sun, 26 Aug 2007 19:51:35 +0000 Subject: [PATCH] Include the required headers. Strangely this only broke on linux. Also fix a warning. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14464 a1c6a512-1295-4272-9138-f99709370657 --- rbutil/rbutilqt/multiinstaller.cpp | 5 ++++- rbutil/rbutilqt/preview.cpp | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/rbutil/rbutilqt/multiinstaller.cpp b/rbutil/rbutilqt/multiinstaller.cpp index dae059f0c..55d91fd7f 100644 --- a/rbutil/rbutilqt/multiinstaller.cpp +++ b/rbutil/rbutilqt/multiinstaller.cpp @@ -16,7 +16,10 @@ * KIND, either express or implied. * ****************************************************************************/ - + +#include +#include + #include "multiinstaller.h" #include "installbootloader.h" diff --git a/rbutil/rbutilqt/preview.cpp b/rbutil/rbutilqt/preview.cpp index 918fa10aa..21e071185 100644 --- a/rbutil/rbutilqt/preview.cpp +++ b/rbutil/rbutilqt/preview.cpp @@ -44,11 +44,13 @@ void PreviewDlg::setPixmap(QPixmap p) void PreviewDlg::mouseMoveEvent(QMouseEvent * event) { + (void) event; this->close(); } void PreviewDlg::leaveEvent(QEvent * event) { + (void) event; this->close(); } @@ -72,10 +74,12 @@ void PreviewLabel::mouseMoveEvent(QMouseEvent * event) } void PreviewLabel::enterEvent(QEvent * event) { + (void) event; hovertimer.start(); } void PreviewLabel::leaveEvent(QEvent * event) { + (void) event; hovertimer.stop(); } -- 2.11.4.GIT