diff --git a/src/framework/global/io/iodevice.cpp b/src/framework/global/io/iodevice.cpp index ae76d94b0e6f1..689acd88b9579 100644 --- a/src/framework/global/io/iodevice.cpp +++ b/src/framework/global/io/iodevice.cpp @@ -227,13 +227,13 @@ size_t IODevice::write(const QByteArray& ba) return write(reinterpret_cast(ba.constData()), ba.size()); } +#endif + bool IODevice::hasError() const { return m_error != 0; } -#endif - int IODevice::error() const { return m_error;