diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-04-24 19:57:10 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-04-24 19:57:10 -0300 |
commit | 634abb8bb2dadbf3657629b8f26bc1e4cc0dd79f (patch) | |
tree | 4d8b4caebe02508693779756ee10908b6a040fa3 /qt-ui/mainwindow.cpp | |
parent | 17c4120143dc946133bf602efb1d26844b750aaf (diff) | |
download | subsurface-634abb8bb2dadbf3657629b8f26bc1e4cc0dd79f.tar.gz |
Use the star widget in it's right place
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index adfb3c74a..e8fcd3200 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -28,10 +28,7 @@ MainWindow::MainWindow() : ui(new Ui::MainWindow()), ui->ListWidget->setModel(model); this->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() |