fixed qt/tabs.* so that the close button is effective