aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/peripheralsdock.cpp
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-07-01 10:41:58 +0200
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-07-01 10:41:58 +0200
commitffc931a61c6f64821e9c174dfd849df69a25bd08 (patch)
tree2f6ca96d0812f497cafd3ccb752f4de72537b163 /qtmips_gui/peripheralsdock.cpp
parent3620538812a9df490ace6b3adf8bd120b7a0027b (diff)
downloadqtmips-ffc931a61c6f64821e9c174dfd849df69a25bd08.tar.gz
qtmips-ffc931a61c6f64821e9c174dfd849df69a25bd08.tar.bz2
qtmips-ffc931a61c6f64821e9c174dfd849df69a25bd08.zip
Resolve all remaining warnings reported by GCC 6.3.
Unresolved are drawRoundRect, QFontMetrics::width which are deprecated in newer Qt versions. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui/peripheralsdock.cpp')
-rw-r--r--qtmips_gui/peripheralsdock.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qtmips_gui/peripheralsdock.cpp b/qtmips_gui/peripheralsdock.cpp
index 4494948..da7ac98 100644
--- a/qtmips_gui/peripheralsdock.cpp
+++ b/qtmips_gui/peripheralsdock.cpp
@@ -36,6 +36,7 @@
#include "peripheralsdock.h"
PeripheralsDock::PeripheralsDock(QWidget *parent, QSettings *settings) : QDockWidget(parent) {
+ (void)settings;
top_widget = new QWidget(this);
setWidget(top_widget);
layout_box = new QVBoxLayout(top_widget);