Files
wowlet/src/dialog/splashdialog.cpp
T
2021-05-02 20:22:38 +02:00

25 lines
554 B
C++

// SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#include "splashdialog.h"
#include "ui_splashdialog.h"
SplashDialog::SplashDialog(QWidget *parent)
: QDialog(parent)
, ui(new Ui::SplashDialog)
{
ui->setupUi(this);
QPixmap pixmap = QPixmap(":/assets/images/key.png");
ui->icon->setPixmap(pixmap.scaledToWidth(32, Qt::SmoothTransformation));
this->setWindowFlags(Qt::Dialog | Qt::FramelessWindowHint);
this->adjustSize();
}
SplashDialog::~SplashDialog() {
delete ui;
}