summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/bluebase.cpp20
-rw-r--r--noncore/net/opietooth/manager/scandialog.cpp2
2 files changed, 11 insertions, 11 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp
index 6328b59..7a92dc3 100644
--- a/noncore/net/opietooth/manager/bluebase.cpp
+++ b/noncore/net/opietooth/manager/bluebase.cpp
@@ -53,10 +53,10 @@ namespace OpieTooth {
connect( PushButton2, SIGNAL( clicked() ), this, SLOT(startScan() ) );
connect( configApplyButton, SIGNAL(clicked() ), this, SLOT(applyConfigChanges() ) );
- connect( ListView2, SIGNAL( expanded ( QListViewItem *item ) ),
- this, SLOT( addServicesToDevice( QListViewItem *item ) ) );
+ connect( ListView2, SIGNAL( expanded ( QListViewItem* ) ),
+ this, SLOT( addServicesToDevice( QListViewItem * ) ) );
connect( ListView2, SIGNAL( clicked( QListViewItem* )),
- this, SLOT( startServiceActionClicked( QListViewItem *item ) ) );
- connect( localDevice, SIGNAL( foundServices( const QString& device, Services::ValueList ) ),
- this, SLOT( addServicesToDevice( const QString& device, Services::ValueList ) ) );
+ this, SLOT( startServiceActionClicked( QListViewItem* ) ) );
+ connect( localDevice , SIGNAL( foundServices( const QString& , Services::ValueList ) ),
+ this, SLOT( addServicesToDevice( const QString& , Services::ValueList ) ) );
@@ -64,6 +64,6 @@ namespace OpieTooth {
- QPixmap offPix = Resource::loadPixmap( "editdelete" );
- QPixmap onPix = Resource::loadPixmap( "installed" );
+ offPix = Resource::loadPixmap( "editdelete" );
+ onPix = Resource::loadPixmap( "installed" );
QPalette pal = this->palette();
@@ -86,10 +86,10 @@ namespace OpieTooth {
QListViewItem *topLV = new QListViewItem( ListView2, "Harlekins Dongle" , "yes");
- topLV->setPixmap( 0, offPix );
+ topLV->setPixmap( 1, offPix );
// (void) new QListViewItem( topLV, "on" );
//(void) new QListViewItem( topLV, "off" );
QListViewItem *topLV2 = new QListViewItem( ListView2, "Siemens S45" , "no" );
- topLV2->setPixmap( 0, onPix );
+ topLV2->setPixmap( 1, onPix );
(void) new QListViewItem( topLV2, "on" );
(void) new QListViewItem( topLV2, "off" );
@@ -258,5 +258,5 @@ namespace OpieTooth {
* Action that is toggled on entrys on click
*/
- void BlueBase::startServiceActionClicked( QListViewItem * item ) {
+ void BlueBase::startServiceActionClicked( QListViewItem *item ) {
diff --git a/noncore/net/opietooth/manager/scandialog.cpp b/noncore/net/opietooth/manager/scandialog.cpp
index ec8df82..9520e73 100644
--- a/noncore/net/opietooth/manager/scandialog.cpp
+++ b/noncore/net/opietooth/manager/scandialog.cpp
@@ -102,5 +102,5 @@ namespace OpieTooth {
progressStat++;
if (progressStat++ < 20) {
- QTimer::singleShot( 1000, this, SLOT(progressTimer() ) );
+ QTimer::singleShot( 2000, this, SLOT(progressTimer() ) );
}
progress->setProgress(progressStat++);