mirror of
https://review.haiku-os.org/haiku
synced 2025-02-22 21:48:35 +01:00
Init fAboutWindow NULL first
This commit is contained in:
parent
83baea76a8
commit
5070e7e222
@ -148,13 +148,14 @@ NetworkStatusView::~NetworkStatusView()
|
||||
void
|
||||
NetworkStatusView::_Init()
|
||||
{
|
||||
fAboutWindow = NULL;
|
||||
|
||||
for (int i = 0; i < kStatusCount; i++) {
|
||||
fTrayIcons[i] = NULL;
|
||||
fNotifyIcons[i] = NULL;
|
||||
}
|
||||
|
||||
_UpdateBitmaps();
|
||||
fAboutWindow = NULL;
|
||||
}
|
||||
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <Alert.h>
|
||||
#include <AboutWindow.h>
|
||||
#include <Application.h>
|
||||
#include <Catalog.h>
|
||||
#include <ControlLook.h>
|
||||
|
@ -15,6 +15,7 @@
|
||||
#include "DriverInterface.h"
|
||||
|
||||
|
||||
class BAboutWindow;
|
||||
class BFile;
|
||||
|
||||
|
||||
@ -53,6 +54,7 @@ private:
|
||||
|
||||
protected:
|
||||
PowerStatusDriverInterface* fDriverInterface;
|
||||
BAboutWindow* fAboutWindow;
|
||||
|
||||
bool fShowLabel;
|
||||
bool fShowTime;
|
||||
|
Loading…
x
Reference in New Issue
Block a user