/*
  SPDX-FileCopyrightText: 2011 Kurt Hindenburg <kurt.hindenburg@gmail.com>

  SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/

// Own
#include "GeneralSettings.h"

#include <KMessageBox>

using namespace Konsole;

GeneralSettings::GeneralSettings(QWidget* aParent) : QWidget(aParent)
{
    setupUi(this);

    connect(enableAllMessagesButton, &QPushButton::clicked, this, &Konsole::GeneralSettings::slotEnableAllMessages);

    kcfg_ShowTerminalSizeHint->setVisible(false);
}

GeneralSettings::~GeneralSettings() = default;

void GeneralSettings::slotEnableAllMessages()
{
    KMessageBox::enableAllMessages();
}

