Skip to content

Commit

Permalink
Merge pull request musescore#18523 from handrok/qt_support_define
Browse files Browse the repository at this point in the history
fixed link error while compiling with NO_QT_SUPPORT
  • Loading branch information
handrok committed Jul 11, 2023
2 parents 7084f8d + 9cf4d87 commit fccb957
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 fccb957

Please sign in to comment.