mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Use the Socket Server error message channel for writeBlockData errors, as all the socket server related errors use.
Done to prepare for fixing #4543 and #4544
This commit is contained in:
parent
e26cd1a896
commit
1caee676bc
@ -130,13 +130,8 @@ bool RiaSocketTools::writeBlockData(RiaSocketServer* server, QTcpSocket* socket,
|
||||
{
|
||||
for (int i = 0; i < errorMessages.size(); i++)
|
||||
{
|
||||
RiaApplication::instance()->showErrorMessage(errorMessages[i]);
|
||||
server->showErrorMessage(errorMessages[i]);
|
||||
}
|
||||
|
||||
// double totalTimeMS = timer.time() * 1000.0;
|
||||
// QString resultInfo = QString("Total time '%1 ms'").arg(totalTimeMS);
|
||||
//
|
||||
// RiaApplication::instance()->showErrorMessage(resultInfo);
|
||||
}
|
||||
|
||||
return writeSucceded;
|
||||
|
Loading…
Reference in New Issue
Block a user