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>
This commit is contained in:
Stig Bjørlykke 2017-11-23 13:34:19 +01:00 committed by Roland Knall
parent 243fa8c441
commit 80424d135f
2 changed files with 2 additions and 4 deletions

View File

@ -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)

View File

@ -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: