removed settings namespace

This commit is contained in:
fourtf
2017-01-23 16:38:06 +01:00
parent 13e7f43278
commit 9041dbf014
13 changed files with 44 additions and 60 deletions
+6 -6
View File
@@ -1,6 +1,6 @@
#include "widgets/chatwidgetinput.h"
#include "colorscheme.h"
#include "settings/settings.h"
#include "settings.h"
#include <QPainter>
@@ -41,11 +41,11 @@ ChatWidgetInput::ChatWidgetInput()
this->refreshTheme();
this->setMessageLengthVisisble(
settings::Settings::getInstance().showMessageLength.get());
Settings::getInstance().showMessageLength.get());
/* XXX(pajlada): FIX THIS
QObject::connect(&settings::Settings::getInstance().showMessageLength,
&settings::BoolSetting::valueChanged, this,
QObject::connect(&Settings::getInstance().showMessageLength,
&BoolSetting::valueChanged, this,
&ChatWidgetInput::setMessageLengthVisisble);
*/
}
@@ -54,8 +54,8 @@ ChatWidgetInput::~ChatWidgetInput()
{
/* XXX(pajlada): FIX THIS
QObject::disconnect(
&settings::Settings::getInstance().getShowMessageLength(),
&settings::BoolSetting::valueChanged, this,
&Settings::getInstance().getShowMessageLength(),
&BoolSetting::valueChanged, this,
&ChatWidgetInput::setMessageLengthVisisble);
*/
}