summaryrefslogtreecommitdiffstats
path: root/src/fbsplash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fbsplash.cpp')
-rw-r--r--src/fbsplash.cpp13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/fbsplash.cpp b/src/fbsplash.cpp
index d22cbbc..6815c61 100644
--- a/src/fbsplash.cpp
+++ b/src/fbsplash.cpp
@@ -1,15 +1,18 @@
#include <QProgressBar>
#include "fbsplash.h"
+#include "ui_fbsplash.h"
-fbsplash::fbsplash() :
- QMainWindow(){
+fbsplash::fbsplash(QWidget *parent) :
+ QWidget(parent), ui(new Ui::fbsplash){
qDebug() << "fbsplash init";
- //ui->setup(this);
+ ui->setupUi(this);
createActions();
+
+ /*
setupTheme();
@@ -33,6 +36,10 @@ fbsplash::fbsplash() :
setAttribute(Qt::WA_QuitOnClose, true);
setWindowFlags(Qt::FramelessWindowHint);
showFullScreen();
+ */
+}
+fbsplash::~fbsplash(){
+ delete ui;
}
//-----------------------------------------------------------------------------
void fbsplash::setupTheme() {