diff --git a/src/nostalgia/core/studio/import_tilesheet_wizard.cpp b/src/nostalgia/core/studio/import_tilesheet_wizard.cpp index d08c56b2..db8a00c8 100644 --- a/src/nostalgia/core/studio/import_tilesheet_wizard.cpp +++ b/src/nostalgia/core/studio/import_tilesheet_wizard.cpp @@ -6,7 +6,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include #include #include "import_tilesheet_wizard.hpp" @@ -55,8 +54,8 @@ int ImportTilesheetWizardPage::importImage(QFile &srcFile, QString tilesheetName if (srcFile.read((char*) buff, buffSize) > 0) { int err = 0; m_project->mkdir(TILESHEET_DIR); - qInfo() << "write:" << (err |= m_project->write(TILESHEET_DIR + tilesheetName, buff, buffSize)); - qInfo() << "save: " << (err |= m_project->saveRomFs()); + err |= m_project->write(TILESHEET_DIR + tilesheetName, buff, buffSize); + err |= m_project->saveRomFs(); return err; } else { return 1;