changeset 238:966639cc7c11

* looks like this ugly OS/X hack is no longer necessary with more recent Qt
author Chris Cannam
date Thu, 19 Apr 2007 15:19:38 +0000
parents d45d78a94f2e
children 6e59a60139b7
files view/PaneStack.cpp
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/view/PaneStack.cpp	Thu Apr 19 15:19:17 2007 +0000
+++ b/view/PaneStack.cpp	Thu Apr 19 15:19:38 2007 +0000
@@ -435,15 +435,15 @@
 
 //    std::cerr << "PaneStack::sizePropertyStacks: max min width " << maxMinWidth << std::endl;
 
-#ifdef Q_WS_MAC
+//#ifdef Q_WS_MAC
     // This is necessary to compensate for cb->setMinimumSize(10, 10)
     // in PropertyBox in the Mac version (to avoid a mysterious crash)
 
     //!!! is this still necessary with qt4.2?
-    int setWidth = maxMinWidth * 3 / 2;
-#else
+//    int setWidth = maxMinWidth * 3 / 2;
+//#else
     int setWidth = maxMinWidth;
-#endif
+//#endif
 
     m_propertyStackStack->setMaximumWidth(setWidth + 10);