summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-04-24 16:18:08 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-04-24 16:18:08 -0700
commit02d822924cd13ad6935e167d9a7597af91445a60 (patch)
tree28edf0f9937e007c39a46a8cc2458ff97f90c05e /qt-ui/mainwindow.cpp
parentce235bd58133fd0ebde4d7156dd5cb4c62abeb60 (diff)
parent639dbe95f85c72a97b00ac17e76d968c692086e3 (diff)
downloadsubsurface-02d822924cd13ad6935e167d9a7597af91445a60.tar.gz
Merge branch 'useStarWidgets' of git://github.com/tcanabrava/subsurface into Qt
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()