CSignalBox: Set current tuner as the default frontend

Origin commit data
------------------
Commit: c83f195637
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-20 (Mon, 20 Jan 2014)
This commit is contained in:
Michael Liebmann
2014-01-20 19:28:05 +01:00
parent b91255ff8f
commit 128047f61f
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;};