Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 6b4ebdee authored by Laurent Montel's avatar Laurent Montel 😁

Remove deprecated class

parent 95f256a7
......@@ -14,7 +14,7 @@
#include <QPainter>
#include <QPixmap>
#include <QMouseEvent>
#include <QStyleOptionViewItemV4>
#include <QStyleOptionViewItem>
#include <krandom.h>
#include <QStandardPaths>
......@@ -182,7 +182,7 @@ void dicesWidget::paintEvent(QPaintEvent *)
// if (!m_enabled) pixmap = KPixmapEffect::toGray(pixmap, false);
if (m_highlightDice[i])
{
QStyleOptionViewItemV4 option;
QStyleOptionViewItem option;
option.initFrom(this);
option.rect = QRect(5, 9 + 90 * i, 80, 80);
option.state |= QStyle::State_Selected;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment