Overlay_win.cpp: Fix MinGW compilation warning

Overlay_win.cpp:184:9: warning: enumeration value 'UnknownError' not handled in switch [-Wswitch]
  switch (processError) {
         ^
This commit is contained in:
Davide Beatrici 2017-02-04 21:03:25 +01:00
parent d871f34f49
commit aee146988e

View File

@ -192,6 +192,8 @@ static const char *processErrorString(QProcess::ProcessError processError) {
return "an error occurred when attempting to write to the process";
case QProcess::ReadError:
return "an error occurred when attempting to read from the process";
case QProcess::UnknownError:
return "an unknown error occurred";
}
return "unknown";