summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-07-27 20:42:16 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-08-06 20:43:15 +0200
commit7c5b9a4049b76ebe1e08594e8a1843ee9f225fe5 (patch)
treedce50e9c73d38dca9a2925f3824a2c2f0653a790
parent82f98dea2be33f6b4b52eda4a2f92e86c9abfe32 (diff)
rbutil: Fix Qt deprecated warnings.
Change-Id: I0a5c137704f07e8448c3a09624228a4f417e6634
-rw-r--r--rbutil/rbutilqt/base/bootloaderinstallbase.cpp2
-rw-r--r--rbutil/rbutilqt/preview.h2
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)
BootloaderInstallBase::Capabilities BootloaderInstallBase::capabilities(void)
{
- return 0;
+ return Capabilities();
}
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
Q_OBJECT
public:
- PreviewLabel(QWidget * parent = 0, Qt::WindowFlags f = 0);
+ PreviewLabel(QWidget * parent = 0, Qt::WindowFlags f = Qt::WindowFlags());
void setPixmap(QPixmap p);
void setText(QString text);