There's always at least one tab since an okularpart is created at startup. The supported minetypes are always read from this so fileFormats is never called.