forked from osmocom/wireshark
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:
parent
243fa8c441
commit
80424d135f
|
@ -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)
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue