mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-03-19 03:14:41 +01:00
Fix muparserX compilation on minGW (UNICODE disabled)
This commit is contained in:
parent
9614c9d850
commit
b7ad595628
|
|
@ -256,3 +256,5 @@ CONFIG += c++14
|
|||
REVISION = $$system(git rev-parse HEAD)
|
||||
DEFINES += GITHASH=\\"\"$$REVISION\\"\"
|
||||
DEFINES += FW_MAJOR=0 FW_MINOR=1 FW_PATCH=0 FW_SUFFIX=\\"\"-alpha.2\\"\"
|
||||
DEFINES -= _UNICODE UNICODE
|
||||
|
||||
|
|
|
|||
|
|
@ -238,7 +238,7 @@ void AppWindow::ConnectToDevice(QString serial)
|
|||
break;
|
||||
}
|
||||
}
|
||||
} catch (const runtime_error e) {
|
||||
} catch (const runtime_error &e) {
|
||||
qWarning() << "Failed to connect:" << e.what();
|
||||
DisconnectDevice();
|
||||
UpdateDeviceList();
|
||||
|
|
|
|||
Loading…
Reference in a new issue