CSignalBox: Set current tuner as the default frontend

This commit is contained in:
M. Liebmann
2014-01-20 19:28:05 +01:00
parent 506203dd85
commit c83f195637
2 changed files with 3 additions and 2 deletions

View File

@@ -29,6 +29,7 @@
#include <global.h>
#include <neutrino.h>
#include <zapit/femanager.h>
#include "cc_frm_signalbars.h"
#include <sstream>
@@ -262,7 +263,7 @@ CSignalBox::CSignalBox(const int& xpos, const int& ypos, const int& w, const int
initVarSigBox();
vertical = vert;
sbx_frontend = frontend_ref;
sbx_frontend = (frontend_ref == NULL) ? CFEManager::getInstance()->getLiveFE() : frontend_ref;
x = xpos;
y = ypos;
width = w;

View File

@@ -272,7 +272,7 @@ class CSignalBox : public CComponentsForm
public:
///class constructor for signal noise ratio.
CSignalBox(const int& xpos, const int& ypos, const int& w, const int& h, CFrontend *frontend_ref, const bool vertical = true);
CSignalBox(const int& xpos, const int& ypos, const int& w, const int& h, CFrontend *frontend_ref = NULL, const bool vertical = true);
///returns the signal object, type = CSignalBar*
CSignalBar* getScaleObject(){return sbar;};