summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/btdeviceselectiondialog.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-07 22:16:30 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-07 22:26:33 -0800
commit440423ff6476119e090798ae2d59dc59d5253a0a (patch)
tree5a8c32678056583e0cc7cd06682bc123d0584e33 /desktop-widgets/btdeviceselectiondialog.cpp
parentbfe24526d35c47c1229a0711882d4e789fb46731 (diff)
parent829f7a2ee264b4e25e8ea926a98199f8049a23d6 (diff)
downloadsubsurface-440423ff6476119e090798ae2d59dc59d5253a0a.tar.gz
Merge branch 'warnings' of github.com:neolit123/subsurface
Diffstat (limited to 'desktop-widgets/btdeviceselectiondialog.cpp')
-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;
}