Removed permission added by Qt
added flags