1 https://salsa.debian.org/debian/tipp10/-/raw/debian/2.1.0-5/debian/patches/qt5.patch
3 Author: Reiner Herrmann <reiner@reiner-h.de>
4 Description: Port to Qt5
5 Bug-Debian: https://bugs.debian.org/875207
13 +QT += widgets multimedia printsupport
16 RESOURCES += tipp10.qrc
20 ****************************************************************/
22 #include <QApplication>
23 -#include <QPlastiqueStyle>
26 #include <QCoreApplication>
30 if (!useNativeStyle) {
31 - app.setStyle("plastique");
32 + app.setStyle("fusion");
36 --- a/games/abcrainwidget.cpp
37 +++ b/games/abcrainwidget.cpp
39 charballs.last()->wind = (qrand() % 8) + 2;
40 charballs.last()->rad = 0;
42 - chartext.append(new QGraphicsTextItem(QString(characterTemp),
43 - charballs.last(), scene));
44 + chartext.append(new QGraphicsTextItem(QString(characterTemp), charballs.last()));
45 chartext.last()->setFont(QFont("Courier", 16, 100));
46 chartext.last()->setPos(-(chartext.last()->boundingRect().width() / 2), -(chartext.last()->boundingRect().height() / 2));
48 --- a/sql/chartablesql.cpp
49 +++ b/sql/chartablesql.cpp
53 headerview->setStretchLastSection(true);
54 - headerview->setResizeMode(QHeaderView::Interactive);
55 + headerview->setSectionResizeMode(QHeaderView::Interactive);
56 headerview->setSortIndicatorShown(true);
59 --- a/sql/lessontablesql.cpp
60 +++ b/sql/lessontablesql.cpp
64 headerview->setStretchLastSection(true);
65 - headerview->setResizeMode(QHeaderView::Interactive);
66 + headerview->setSectionResizeMode(QHeaderView::Interactive);
67 headerview->setSortIndicatorShown(true);