Fixed Qt 5.12.8 build

This commit is contained in:
f4exb 2022-02-10 01:22:55 +01:00
parent a99e4589f8
commit 93ff8c44de
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ FITS::FITS(QString resourceName) :
m_fileSize = m_res.uncompressedSize();
#else
m_data = QByteArray::fromRawData((const char *)m_res.data(), m_res.size());
if (res.isCompressed()) {
if (m_res.isCompressed()) {
m_data = qUncompress(m_data);
}
m_fileSize = m_res.size();