summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r--qt-ui/mainwindow.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index adfb3c74a..b0b56a4e7 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -26,12 +26,9 @@ MainWindow::MainWindow() : ui(new Ui::MainWindow()),
{
ui->setupUi(this);
ui->ListWidget->setModel(model);
- this->setWindowIcon(QIcon(":subsurface-icon"));
+ setWindowIcon(QIcon(":subsurface-icon"));
// Just to test the star widgets, can be safely removed.
- StarWidget *star = new StarWidget(0);
- star->setMaximumStars(10);
- star->setCurrentStars(3);
- star->show();
+
}
void MainWindow::on_actionNew_triggered()