# HG changeset patch # User Chris Cannam # Date 1176995978 0 # Node ID 966639cc7c11ff9c6cefebcf4de14fce5f3b4e4a # Parent d45d78a94f2ecf354017df0577d505ec003710ac * looks like this ugly OS/X hack is no longer necessary with more recent Qt diff -r d45d78a94f2e -r 966639cc7c11 view/PaneStack.cpp --- 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);