mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
btdeviceselectiondialog.cpp: fix unused variable
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
c6baeb8142
commit
43ebfec1ff
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue