Use the star widget in it's right place

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
Tomaz Canabrava 2013-04-24 19:57:10 -03:00
parent 17c4120143
commit 634abb8bb2
2 changed files with 13 additions and 8 deletions

View file

@ -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()