Fixed IBB regression after portig to QIODevice