refactor: Address (Windows) compile warnings (#840)

* Windows compile errors and (Qt 5.15 deprecation) warnings

* Usability - Enable/Disable Instance button

Co-authored-by: brindosch <edeltraud70@gmx.de>
This commit is contained in:
LordGrey
2020-06-28 23:05:32 +02:00
committed by GitHub
parent e365a2839d
commit bfb50b8d91
61 changed files with 530 additions and 365 deletions

View File

@@ -57,15 +57,15 @@ int main(int argc, char ** argv)
// parse all options
parser.process(app);
VideoMode videoMode = VIDEO_2D;
VideoMode videoMode = VideoMode::VIDEO_2D;
if (parser.isSet(arg3DSBS))
{
videoMode = VIDEO_3DSBS;
videoMode = VideoMode::VIDEO_3DSBS;
}
else if (parser.isSet(arg3DTAB))
{
videoMode = VIDEO_3DTAB;
videoMode = VideoMode::VIDEO_3DTAB;
}
// check if we need to display the usage. exit if we do.
@@ -98,7 +98,7 @@ int main(int argc, char ** argv)
if(argAddress.value(parser) == "127.0.0.1:19400")
{
SSDPDiscover discover;
address = discover.getFirstService(STY_FLATBUFSERVER);
address = discover.getFirstService(searchType::STY_FLATBUFSERVER);
if(address.isEmpty())
{
address = argAddress.value(parser);