summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/scandialog.cpp
Side-by-side diff
Diffstat (limited to 'noncore/net/opietooth/manager/scandialog.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/scandialog.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/noncore/net/opietooth/manager/scandialog.cpp b/noncore/net/opietooth/manager/scandialog.cpp
index b0ffbb3..63c5472 100644
--- a/noncore/net/opietooth/manager/scandialog.cpp
+++ b/noncore/net/opietooth/manager/scandialog.cpp
@@ -52,5 +52,4 @@ namespace OpieTooth {
Frame7->setFrameShadow( QFrame::Raised );
-
QWidget* privateLayoutWidget = new QWidget( Frame7, "Layout11" );
privateLayoutWidget->setGeometry( QRect( 10, 9, 221, 280 ) );
@@ -59,9 +58,7 @@ namespace OpieTooth {
Layout11->setMargin( 0 );
-
progress = new QProgressBar(privateLayoutWidget, "progbar");
progress->setTotalSteps(20);
-
QFrame *buttonFrame = new QFrame(Frame7, "");
@@ -72,5 +69,4 @@ namespace OpieTooth {
StopButton->setText( tr( "Cancel" ) );
-
QHBoxLayout *buttonLayout = new QHBoxLayout(buttonFrame);
buttonLayout->addWidget(StartButton);
@@ -103,4 +99,5 @@ namespace OpieTooth {
QTimer::singleShot( 1000, this, SLOT(progressTimer() ) );
}
+ progress->setProgress(progressStat++);
}