feather/src/dialog/InfoDialog.cpp
2024-01-01 18:07:58 +01:00

17 lines
No EOL
442 B
C++

// SPDX-License-Identifier: BSD-3-Clause
// SPDX-FileCopyrightText: 2020-2024 The Monero Project
#include "InfoDialog.h"
#include "ui_InfoDialog.h"
InfoDialog::InfoDialog(QWidget *parent, const QString &title, const QString &infoData)
: WindowModalDialog(parent)
, ui(new Ui::InfoDialog)
{
ui->setupUi(this);
this->setWindowTitle(title);
ui->info->setPlainText(infoData);
}
InfoDialog::~InfoDialog() = default;