BCatalog was used in the wrong way. Fixes ticket #6198.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37183 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
16023f51f8
commit
eb161bde33
@ -37,6 +37,8 @@
|
||||
PulseApp::PulseApp(int argc, char **argv)
|
||||
: BApplication(APP_SIGNATURE)
|
||||
{
|
||||
be_locale->GetAppCatalog(&fCatalog);
|
||||
|
||||
prefs = new Prefs();
|
||||
|
||||
int mini = false, deskbar = false, normal = false;
|
||||
@ -246,10 +248,6 @@ LoadInDeskbar()
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
BCatalog fAppCatalog;
|
||||
|
||||
be_locale->GetAppCatalog(&fAppCatalog);
|
||||
|
||||
PulseApp *pulseapp = new PulseApp(argc, argv);
|
||||
pulseapp->Run();
|
||||
delete pulseapp;
|
||||
|
@ -12,19 +12,23 @@
|
||||
#define PULSEAPP_H
|
||||
|
||||
|
||||
#include <app/Application.h>
|
||||
#include <Application.h>
|
||||
#include <Catalog.h>
|
||||
|
||||
#include "Prefs.h"
|
||||
|
||||
|
||||
class PulseApp : public BApplication {
|
||||
public:
|
||||
PulseApp(int argc, char **argv);
|
||||
~PulseApp();
|
||||
public:
|
||||
PulseApp(int argc, char **argv);
|
||||
~PulseApp();
|
||||
|
||||
Prefs *prefs;
|
||||
Prefs* prefs;
|
||||
|
||||
private:
|
||||
void BuildPulse();
|
||||
private:
|
||||
void BuildPulse();
|
||||
|
||||
BCatalog fCatalog;
|
||||
};
|
||||
|
||||
extern bool LastEnabledCPU(int cpu);
|
||||
|
Loading…
Reference in New Issue
Block a user