File ceil.patch of Package baka-mplayer
--- a/src/ui/mainwindow.cpp
+++ b/src/ui/mainwindow.cpp
@@ -1,6 +1,7 @@
#include "mainwindow.h"
#include "ui_mainwindow.h"
+#include <QtMath>
#include <QLibraryInfo>
#include <QMimeData>
#include <QDesktopWidget>
@@ -993,7 +994,7 @@ void MainWindow::mouseMoveEvent(QMouseEv
ui->seekBar->setVisible(showPlayback || ui->outputTextEdit->isVisible());
QRect playlistRect = geometry();
- playlistRect.setLeft(playlistRect.right() - ceil(playlistRect.width()/7.0));
+ playlistRect.setLeft(playlistRect.right() - qCeil(playlistRect.width()/7.0));
bool showPlaylist = playlistRect.contains(event->globalPos());
ShowPlaylist(showPlaylist);