summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-11-07 22:22:41 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-11-07 22:22:41 +0200
commit43ebfec1ff1048cad7cab9f977ee21654c011dd7 (patch)
tree9083c34d61f6c4281026b8497fcaed6f2e72ed96 /desktop-widgets
parentc6baeb8142d5cbcac8b6abc3046d1aac166b8ca2 (diff)
downloadsubsurface-43ebfec1ff1048cad7cab9f977ee21654c011dd7.tar.gz
btdeviceselectiondialog.cpp: fix unused variable
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/btdeviceselectiondialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop-widgets/btdeviceselectiondialog.cpp b/desktop-widgets/btdeviceselectiondialog.cpp
index fb2cbc1f3..546f50ea3 100644
--- a/desktop-widgets/btdeviceselectiondialog.cpp
+++ b/desktop-widgets/btdeviceselectiondialog.cpp
@@ -52,8 +52,7 @@ BtDeviceSelectionDialog::BtDeviceSelectionDialog(QWidget *parent) :
// Initialize WinSock and ask for version 2.2.
ulRetCode = WSAStartup(MAKEWORD(2, 2), &WSAData);
if (ulRetCode != SUCCESS) {
- QMessageBox::StandardButton warningBox;
- warningBox = QMessageBox::critical(this, "Bluetooth",
+ QMessageBox::critical(this, "Bluetooth",
tr("Could not initialize Winsock version 2.2"), QMessageBox::Ok);
return;
}