Ref T28, allow to set updater to really show if it is "on"

This commit is contained in:
Klaus Basan
2017-05-04 02:09:44 +02:00
committed by Mathew Sutcliffe
parent e7e984227b
commit 0fd3857b87
5 changed files with 31 additions and 5 deletions

View File

@@ -14,14 +14,13 @@
#include "blackgui/blackguiexport.h"
#include "blackgui/overlaymessagesframe.h"
#include <QObject>
#include <QScopedPointer>
class QWidget;
namespace Ui { class CDataSettingsComponent; }
namespace BlackCore { namespace Db { class CBackgroundDataUpdater; }}
namespace BlackGui
{
namespace Components
@@ -38,7 +37,10 @@ namespace BlackGui
explicit CDataSettingsComponent(QWidget *parent = nullptr);
//! Destructor
~CDataSettingsComponent();
virtual ~CDataSettingsComponent();
//! Background updater
void setBackgroundUpdater(BlackCore::Db::CBackgroundDataUpdater *updater);
private:
QScopedPointer<Ui::CDataSettingsComponent> ui;