diff options
-rw-r--r-- | Swift/QtUI/QtChatTabs.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Swift/QtUI/QtChatTabs.cpp b/Swift/QtUI/QtChatTabs.cpp index f2349a9..cd3aada 100644 --- a/Swift/QtUI/QtChatTabs.cpp +++ b/Swift/QtUI/QtChatTabs.cpp @@ -8,6 +8,10 @@ namespace Swift { QtChatTabs::QtChatTabs() { tabs_ = new QTabWidget(this); +#if QT_VERSION >= 0x040500 + //For Macs, change the tab rendering. + tabs_->setDocumentMode(true); +#endif QVBoxLayout *layout = new QVBoxLayout; layout->setSpacing(0); layout->setContentsMargins(0, 3, 0, 0); |