Skip to content

Commit

Permalink
fixed linked error compiling with NO_QT_SUPPORT
Browse files Browse the repository at this point in the history
  • Loading branch information
handrok committed Jul 11, 2023
1 parent 75f4abc commit 9cf4d87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/framework/global/io/iodevice.cpp
Expand Up @@ -227,13 +227,13 @@ size_t IODevice::write(const QByteArray& ba)
return write(reinterpret_cast<const uint8_t*>(ba.constData()), ba.size());
}

#endif

bool IODevice::hasError() const
{
return m_error != 0;
}

#endif

int IODevice::error() const
{
return m_error;
Expand Down

0 comments on commit 9cf4d87

Please sign in to comment.