#include "bufferviewsettingspage.h"
#include <QMessageBox>
+#include <utility>
#include "buffermodel.h"
#include "bufferviewconfig.h"
#include "util.h"
BufferViewSettingsPage::BufferViewSettingsPage(QWidget *parent)
- : SettingsPage(tr("Interface"), tr("Custom Chat Lists"), parent),
- _ignoreWidgetChanges(false),
- _useBufferViewHint(false),
- _bufferViewHint(0)
+ : SettingsPage(tr("Interface"), tr("Custom Chat Lists"), parent)
{
ui.setupUi(this);
//Hide the hide inactive networks feature on older cores (which won't save the setting)
/**************************************************************************
* BufferViewEditDlg
*************************************************************************/
-BufferViewEditDlg::BufferViewEditDlg(const QString &old, const QStringList &exist, QWidget *parent) : QDialog(parent), existing(exist)
+BufferViewEditDlg::BufferViewEditDlg(const QString &old, QStringList exist, QWidget *parent) : QDialog(parent), existing(std::move(exist))
{
ui.setupUi(this);