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
+5 -6
View File
@@ -3,7 +3,7 @@
#include "colorscheme.h"
#include "messages/message.h"
#include "messages/wordpart.h"
#include "settings/settings.h"
#include "settings.h"
#include "widgets/chatwidget.h"
#include <math.h>
@@ -23,15 +23,14 @@ ChatWidgetView::ChatWidgetView(ChatWidget *parent)
scroll->scrollTo(QPointF(0, 100));
QObject::connect(&settings::Settings::getInstance(),
&settings::Settings::wordTypeMaskChanged, this,
&ChatWidgetView::wordTypeMaskChanged);
QObject::connect(&Settings::getInstance(), &Settings::wordTypeMaskChanged,
this, &ChatWidgetView::wordTypeMaskChanged);
}
ChatWidgetView::~ChatWidgetView()
{
QObject::disconnect(&settings::Settings::getInstance(),
&settings::Settings::wordTypeMaskChanged, this,
QObject::disconnect(&Settings::getInstance(),
&Settings::wordTypeMaskChanged, this,
&ChatWidgetView::wordTypeMaskChanged);
}