aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2017-11-23 13:34:19 +0100
committerRoland Knall <rknall@gmail.com>2017-11-23 14:49:19 +0000
commit80424d135f105d236438e89d9b60f30209574c87 (patch)
tree25398dce6fee89a0382bb49ae66cf1f6e54de087
parent243fa8c4416c00ff1958fe837c401028ef7ca901 (diff)
Qt: Make InterfaceFrame use QFrame
It's no need for InterfaceFrame to use AccordionFrame. Change-Id: Iccef1bcf919d7e5ec2bf818802ef68c1faf4e4a3 Reviewed-on: https://code.wireshark.org/review/24548 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com>
-rw-r--r--ui/qt/interface_frame.cpp2
-rw-r--r--ui/qt/interface_frame.h4
2 files changed, 2 insertions, 4 deletions
diff --git a/ui/qt/interface_frame.cpp b/ui/qt/interface_frame.cpp
index be638fb..8eccf78 100644
--- a/ui/qt/interface_frame.cpp
+++ b/ui/qt/interface_frame.cpp
@@ -47,7 +47,7 @@ const int stat_update_interval_ = 1000; // ms
#endif
InterfaceFrame::InterfaceFrame(QWidget * parent)
-: AccordionFrame(parent),
+: QFrame(parent),
ui(new Ui::InterfaceFrame)
#ifdef HAVE_LIBPCAP
,stat_timer_(NULL)
diff --git a/ui/qt/interface_frame.h b/ui/qt/interface_frame.h
index d3b7c7c..a52a6af 100644
--- a/ui/qt/interface_frame.h
+++ b/ui/qt/interface_frame.h
@@ -28,8 +28,6 @@
#include <glib.h>
-#include "ui/qt/accordion_frame.h"
-
#include <ui/qt/models/interface_tree_model.h>
#include <ui/qt/models/interface_sort_filter_model.h>
@@ -44,7 +42,7 @@ namespace Ui {
class InterfaceFrame;
}
-class InterfaceFrame : public AccordionFrame
+class InterfaceFrame : public QFrame
{
Q_OBJECT
public: