From 634abb8bb2dadbf3657629b8f26bc1e4cc0dd79f Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Wed, 24 Apr 2013 19:57:10 -0300 Subject: Use the star widget in it's right place Signed-off-by: Tomaz Canabrava --- qt-ui/mainwindow.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'qt-ui/mainwindow.cpp') 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() -- cgit v1.2.3-70-g09d2