Commit Graph

2632 Commits

Author SHA1 Message Date
e7f3d29477 Tag ComicDB::operator== as const 2021-10-19 00:00:08 +02:00
a7e3c41f34 QLabel QPixmap *pixmap() method is deprecated
const QPixmap should perform as fast as a pointer
there is a replacement version for Qt5 but it requires Qt5.15, so we are using indirection witch is unsafer but it should be ok as all the action is happen in the main thread
2021-10-19 00:00:08 +02:00
5fbd100449 Use non deprecated QStandardPaths and remove Qt4 alternative 2021-10-19 00:00:08 +02:00
dc8c6e23e9 Use angleDelta instead of delta 2021-10-19 00:00:08 +02:00
d47bd55fa0 Don't use helper function to avoid raising the Qt5 min version requeriment 2021-10-19 00:00:08 +02:00
8207f75297 Replace setMargin with setContentsMargins 2021-10-19 00:00:08 +02:00
5e1e0b1d4a Add include 2021-10-19 00:00:08 +02:00
088ccdf094 Remove setMargin usage 2021-10-19 00:00:08 +02:00
09e85e48bf Remove unused include 2021-10-19 00:00:08 +02:00
100e1c40a1 Use QTransform instead of QMatrix 2021-10-19 00:00:08 +02:00
154f215c38 Use 4 args connect 2021-10-19 00:00:08 +02:00
567c00102d Use fully qualified names 2021-10-19 00:00:08 +02:00
f5035b4bac Use fully qualified names 2021-10-19 00:00:08 +02:00
d5e6623e33 Fix connections
signals can be chained and setCenter was an slot not a signal
2021-10-19 00:00:08 +02:00
ae43f23c85 Use angleDelta
pixelDelta is only provided in systems that support it
2021-10-19 00:00:08 +02:00
052e7ffba0 Add override annotation 2021-10-19 00:00:08 +02:00
740eab5025 Update QWheelEvent delta usage 2021-10-19 00:00:08 +02:00
1c144d950d Use fully qualified names 2021-10-19 00:00:08 +02:00
474689e24b Replace deprecated QPalette role 2021-10-19 00:00:08 +02:00
1012ec37c7 Use setContentsMargins instead of setMargin 2021-10-19 00:00:08 +02:00
2a90b1c6ef Stop using availableGeometry 2021-10-19 00:00:08 +02:00
b07ec73ccc Use Qt::endl instead of endl 2021-10-19 00:00:08 +02:00
f300bc3aa0 Include QMetaType explicitly 2021-10-19 00:00:08 +02:00
b83d7150d7 Use QElapsedTimer instead of QTime 2021-10-19 00:00:08 +02:00
bdb23de74a Use fully qualified names 2021-10-19 00:00:08 +02:00
9ebd6e32da Fix QtOpenGL* includes in Qt6 2021-10-19 00:00:08 +02:00
2de4b26b71 Start supporting Qt6
Everything is broken but we want to start fixing as much as possible
2021-10-19 00:00:08 +02:00
35fa03549b Use fully qualified names 2021-10-19 00:00:08 +02:00
326cebdf7f *Ref methods are deprecated in Qt6 2021-10-19 00:00:08 +02:00
a792a03760 Use QRegularExpression instead of QRegExp 2021-10-19 00:00:08 +02:00
ecd1497370 Don't use virtual methods unnecessarily 2021-10-19 00:00:08 +02:00
db433be88c Include QRegExp explicitly 2021-10-19 00:00:08 +02:00
b878e8169e Replace QDateTime constructor
Using the last moment of the day is enough because all other dates in bookmarks have happened before.
2021-10-19 00:00:08 +02:00
5f55dab0cc Do not write unused values 2021-10-19 00:00:08 +02:00
0a2f7bd2af Proper use of QString::arg 2021-10-19 00:00:08 +02:00
3291300d51 Use continue instead of relying on garbage bool 2021-10-19 00:00:08 +02:00
32b4e420a2 Fix emit calls 2021-10-19 00:00:08 +02:00
459883d7be Use *Ref methods instead 2021-10-19 00:00:07 +02:00
a56914bec3 Do not use foreach 2021-10-19 00:00:07 +02:00
c1d3fb0778 Proper use of range for 2021-10-19 00:00:07 +02:00
c03b1075f3 Do not mix const an non-const iterators 2021-10-19 00:00:07 +02:00
cc927de7de Use ints for colors instead of string literals 2021-10-19 00:00:07 +02:00
d8cb61314d Getter is not a slot 2021-10-19 00:00:07 +02:00
078a97c1d1 Remove unused variables 2021-10-19 00:00:07 +02:00
5557cfe5b3 Remove unused variable 2021-10-19 00:00:07 +02:00
e1ed292a91 Convert emit(signal()) calls to emit signal() 2021-10-19 00:00:07 +02:00
8437bd38f4 Bump Ubuntu version used in all azure pipelines jobs
ubuntu-16.04 is no longer available
2021-10-18 23:59:13 +02:00
5aa02a19bb clang-format 2021-10-18 21:56:52 +02:00
78e0c522d2 Set AppVersion in Windows intaller 2021-10-10 09:04:39 +02:00
ed171f1e95 Add app version to the installer info
build number is not included because inno setup has a 16bit limit per section
2021-10-08 22:27:35 +02:00