preflet/network: Convert ServiceView to BGroupView
* Mostly just to be consistent with everything else Change-Id: I468ce0a20fb918ec6e696bbc9e961dbc4386d7ff Reviewed-on: https://review.haiku-os.org/c/haiku/+/4963 Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com> Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
parent
31f27c4d39
commit
705ee4bf53
@ -30,7 +30,7 @@ static const bigtime_t kDisableDuration = 500000;
|
||||
ServiceView::ServiceView(const char* name, const char* executable,
|
||||
const char* title, const char* description, BNetworkSettings& settings)
|
||||
:
|
||||
BView("service", 0),
|
||||
BGroupView(B_VERTICAL),
|
||||
fName(name),
|
||||
fExecutable(executable),
|
||||
fSettings(settings)
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
|
||||
#include <NetworkSettings.h>
|
||||
#include <View.h>
|
||||
#include <GroupView.h>
|
||||
|
||||
|
||||
using namespace BNetworkKit;
|
||||
@ -18,7 +18,7 @@ using namespace BNetworkKit;
|
||||
class BButton;
|
||||
|
||||
|
||||
class ServiceView : public BView {
|
||||
class ServiceView : public BGroupView {
|
||||
public:
|
||||
ServiceView(const char* name,
|
||||
const char* executable, const char* title,
|
||||
|
Loading…
Reference in New Issue
Block a user