Mercurial > hg > svgui
diff view/PaneStack.cpp @ 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 | efadb9d2b2c6 |
children | 92dc881926da |
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);