mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
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
This commit is contained in:
parent
388506ec78
commit
41f5afb886
2 changed files with 8 additions and 1 deletions
|
|
@ -17,6 +17,9 @@
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#include <QtGui>
|
||||||
|
#include <QtNetwork>
|
||||||
|
|
||||||
#include "multiinstaller.h"
|
#include "multiinstaller.h"
|
||||||
|
|
||||||
#include "installbootloader.h"
|
#include "installbootloader.h"
|
||||||
|
|
|
||||||
|
|
@ -44,11 +44,13 @@ void PreviewDlg::setPixmap(QPixmap p)
|
||||||
|
|
||||||
void PreviewDlg::mouseMoveEvent(QMouseEvent * event)
|
void PreviewDlg::mouseMoveEvent(QMouseEvent * event)
|
||||||
{
|
{
|
||||||
|
(void) event;
|
||||||
this->close();
|
this->close();
|
||||||
}
|
}
|
||||||
|
|
||||||
void PreviewDlg::leaveEvent(QEvent * event)
|
void PreviewDlg::leaveEvent(QEvent * event)
|
||||||
{
|
{
|
||||||
|
(void) event;
|
||||||
this->close();
|
this->close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -72,10 +74,12 @@ void PreviewLabel::mouseMoveEvent(QMouseEvent * event)
|
||||||
}
|
}
|
||||||
void PreviewLabel::enterEvent(QEvent * event)
|
void PreviewLabel::enterEvent(QEvent * event)
|
||||||
{
|
{
|
||||||
|
(void) event;
|
||||||
hovertimer.start();
|
hovertimer.start();
|
||||||
}
|
}
|
||||||
void PreviewLabel::leaveEvent(QEvent * event)
|
void PreviewLabel::leaveEvent(QEvent * event)
|
||||||
{
|
{
|
||||||
|
(void) event;
|
||||||
hovertimer.stop();
|
hovertimer.stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue