diff options
author | Arno <am@disconnect.de> | 2013-03-03 12:05:21 +0100 |
---|---|---|
committer | Arno <am@disconnect.de> | 2013-03-03 12:05:21 +0100 |
commit | a0fe997bbe54b98a6338aa28d8b008266e423081 (patch) | |
tree | a949fcccf3485359684344a2a64e0b67a3962073 /hoverwindow.cpp | |
parent | 1ddfe1550f718f268c8fd6f333f83898907c9ba9 (diff) | |
download | SheMov-a0fe997bbe54b98a6338aa28d8b008266e423081.tar.gz SheMov-a0fe997bbe54b98a6338aa28d8b008266e423081.tar.bz2 SheMov-a0fe997bbe54b98a6338aa28d8b008266e423081.zip |
Port to Qt5
* Change #include to qt5
* Fix missing QX11Info
* use explicit constructor for QVariant(QColor)
* use beginResetModel() and endResetModel() instead of reset(). The
latter was removed. Hopefully it still works :)
Diffstat (limited to 'hoverwindow.cpp')
-rw-r--r-- | hoverwindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hoverwindow.cpp b/hoverwindow.cpp index 5c9db7a..db1be8a 100644 --- a/hoverwindow.cpp +++ b/hoverwindow.cpp @@ -5,9 +5,9 @@ 2 of the License, or (at your option) any later version. */ -#include <QHBoxLayout> -#include <QLabel> -#include <QDesktopWidget> +#include <QtWidgets/QHBoxLayout> +#include <QtWidgets/QLabel> +#include <QtWidgets/QDesktopWidget> #include <QSize> #include <QTextDocument> #include <QSettings> @@ -18,7 +18,7 @@ #include <QBrush> #include <QPen> #include <QColor> -#include <QApplication> +#include <QtWidgets/QApplication> #include <QStaticText> #include "hoverwindow.h" |