summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth
Unidiff
Diffstat (limited to 'noncore/net/opietooth') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/scandialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/net/opietooth/manager/scandialog.cpp b/noncore/net/opietooth/manager/scandialog.cpp
index e81b2ee..b0ffbb3 100644
--- a/noncore/net/opietooth/manager/scandialog.cpp
+++ b/noncore/net/opietooth/manager/scandialog.cpp
@@ -98,7 +98,7 @@ namespace OpieTooth {
98// hack, make cleaner later 98// hack, make cleaner later
99 void ScanDialog::progressTimer(int maxSeconds) { 99 void ScanDialog::progressTimer() {
100 100
101 progressStat++; 101 progressStat++;
102 if (progressStat++ < maxSeconds) { 102 if (progressStat++ < 20) {
103 QTimer::singleShot( 1000, this, SLOT(progressTimer ) ); 103 QTimer::singleShot( 1000, this, SLOT(progressTimer() ) );
104 } 104 }
@@ -111,3 +111,3 @@ namespace OpieTooth {
111 111
112 progressTimer(20); 112 progressTimer();
113 // when finished, it emmite foundDevices() 113 // when finished, it emmite foundDevices()
@@ -115,3 +115,3 @@ namespace OpieTooth {
115 localDevice->searchDevices(); 115 localDevice->searchDevices();
116 progress->setProgress(20); 116
117 } 117 }