From 5fd0c7dd430a7ecb5526a4ed07b75abe332c561d Mon Sep 17 00:00:00 2001
From: Claudiu Olteanu <olteanu.claudiu@ymail.com>
Date: Sun, 19 Jul 2015 22:05:00 +0300
Subject: Fix typos on Bluetooth selection widget

Fix "lable" typos from Bluetooth selection widget.

Signed-off-by: Claudiu Olteanu <olteanu.claudiu@ymail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
---
 qt-ui/btdeviceselectiondialog.cpp | 8 ++++----
 qt-ui/btdeviceselectiondialog.ui  | 6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/qt-ui/btdeviceselectiondialog.cpp b/qt-ui/btdeviceselectiondialog.cpp
index 1d6b8128d..9cde87ec5 100644
--- a/qt-ui/btdeviceselectiondialog.cpp
+++ b/qt-ui/btdeviceselectiondialog.cpp
@@ -46,7 +46,7 @@ BtDeviceSelectionDialog::BtDeviceSelectionDialog(QWidget *parent) :
 			this, SLOT(localDeviceChanged(int)));
 	} else {
 		// If there is only one local Bluetooth adapter hide the combobox and the label
-		ui->selectDeviceLable->hide();
+		ui->selectDeviceLabel->hide();
 		ui->localSelectedDevice->hide();
 	}
 
@@ -131,12 +131,12 @@ void BtDeviceSelectionDialog::hostModeStateChanged(QBluetoothLocalDevice::HostMo
 
 void BtDeviceSelectionDialog::addRemoteDevice(const QBluetoothDeviceInfo &remoteDeviceInfo)
 {
-	QString deviceLable = QString("%1  (%2)").arg(remoteDeviceInfo.name()).arg(remoteDeviceInfo.address().toString());
-	QList<QListWidgetItem *> itemsWithSameSignature = ui->discoveredDevicesList->findItems(deviceLable, Qt::MatchStartsWith);
+	QString deviceLabel = QString("%1  (%2)").arg(remoteDeviceInfo.name()).arg(remoteDeviceInfo.address().toString());
+	QList<QListWidgetItem *> itemsWithSameSignature = ui->discoveredDevicesList->findItems(deviceLabel, Qt::MatchStartsWith);
 
 	// Check if the remote device is already in the list
 	if (itemsWithSameSignature.empty()) {
-		QListWidgetItem *item = new QListWidgetItem(deviceLable);
+		QListWidgetItem *item = new QListWidgetItem(deviceLabel);
 		QBluetoothLocalDevice::Pairing pairingStatus = localDevice->pairingStatus(remoteDeviceInfo.address());
 		item->setData(Qt::UserRole, QVariant::fromValue(remoteDeviceInfo));
 
diff --git a/qt-ui/btdeviceselectiondialog.ui b/qt-ui/btdeviceselectiondialog.ui
index 6f81c9a21..95c09d1c7 100644
--- a/qt-ui/btdeviceselectiondialog.ui
+++ b/qt-ui/btdeviceselectiondialog.ui
@@ -123,7 +123,7 @@
      </property>
      <layout class="QFormLayout" name="formLayout_2">
       <item row="2" column="0">
-       <widget class="QLabel" name="deviceNameLable">
+       <widget class="QLabel" name="deviceNameLabel">
         <property name="text">
          <string>Name: </string>
         </property>
@@ -137,7 +137,7 @@
        </widget>
       </item>
       <item row="3" column="0">
-       <widget class="QLabel" name="deviceAddressLable">
+       <widget class="QLabel" name="deviceAddressLabel">
         <property name="text">
          <string>Address:</string>
         </property>
@@ -198,7 +198,7 @@
        <widget class="QComboBox" name="localSelectedDevice"/>
       </item>
       <item row="1" column="0">
-       <widget class="QLabel" name="selectDeviceLable">
+       <widget class="QLabel" name="selectDeviceLabel">
         <property name="text">
          <string>Select device:</string>
         </property>
-- 
cgit v1.2.3-70-g09d2