feather/src/dialog/InfoDialog.cpp

17 lines
424 B
C++
Raw Normal View History

2021-05-02 18:22:38 +00:00
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#include "InfoDialog.h"
#include "ui_InfoDialog.h"
InfoDialog::InfoDialog(QWidget *parent, const QString &title, const QString &infoData)
: QDialog(parent)
, ui(new Ui::InfoDialog)
{
ui->setupUi(this);
this->setWindowTitle(title);
ui->info->setPlainText(infoData);
}
2021-06-27 12:13:05 +00:00
InfoDialog::~InfoDialog() = default;