diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-07-27 20:42:16 +0200 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-08-06 20:43:15 +0200 |
commit | 7c5b9a4049b76ebe1e08594e8a1843ee9f225fe5 (patch) | |
tree | dce50e9c73d38dca9a2925f3824a2c2f0653a790 | |
parent | 82f98dea2be33f6b4b52eda4a2f92e86c9abfe32 (diff) | |
download | rockbox-7c5b9a4049b76ebe1e08594e8a1843ee9f225fe5.tar.gz rockbox-7c5b9a4049b76ebe1e08594e8a1843ee9f225fe5.zip |
rbutil: Fix Qt deprecated warnings.
Change-Id: I0a5c137704f07e8448c3a09624228a4f417e6634
-rw-r--r-- | rbutil/rbutilqt/base/bootloaderinstallbase.cpp | 2 | ||||
-rw-r--r-- | rbutil/rbutilqt/preview.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/base/bootloaderinstallbase.cpp b/rbutil/rbutilqt/base/bootloaderinstallbase.cpp index 15ced2e435..30f53ae810 100644 --- a/rbutil/rbutilqt/base/bootloaderinstallbase.cpp +++ b/rbutil/rbutilqt/base/bootloaderinstallbase.cpp | |||
@@ -40,7 +40,7 @@ BootloaderInstallBase::BootloaderType BootloaderInstallBase::installed(void) | |||
40 | 40 | ||
41 | BootloaderInstallBase::Capabilities BootloaderInstallBase::capabilities(void) | 41 | BootloaderInstallBase::Capabilities BootloaderInstallBase::capabilities(void) |
42 | { | 42 | { |
43 | return 0; | 43 | return Capabilities(); |
44 | } | 44 | } |
45 | 45 | ||
46 | 46 | ||
diff --git a/rbutil/rbutilqt/preview.h b/rbutil/rbutilqt/preview.h index c2757ca35a..4c51cb8031 100644 --- a/rbutil/rbutilqt/preview.h +++ b/rbutil/rbutilqt/preview.h | |||
@@ -54,7 +54,7 @@ class PreviewLabel : public QLabel | |||
54 | Q_OBJECT | 54 | Q_OBJECT |
55 | 55 | ||
56 | public: | 56 | public: |
57 | PreviewLabel(QWidget * parent = 0, Qt::WindowFlags f = 0); | 57 | PreviewLabel(QWidget * parent = 0, Qt::WindowFlags f = Qt::WindowFlags()); |
58 | 58 | ||
59 | void setPixmap(QPixmap p); | 59 | void setPixmap(QPixmap p); |
60 | void setText(QString text); | 60 | void setText(QString text); |