diff --git a/kmmimeparttree.cpp b/kmmimeparttree.cpp index a3c1d2add..82048ab11 100644 --- a/kmmimeparttree.cpp +++ b/kmmimeparttree.cpp @@ -55,7 +55,10 @@ KMMimePartTree::KMMimePartTree( KMReaderWin* readerWin, : QTreeWidget( parent ), mReaderWin( readerWin ), mLayoutColumnsOnFirstShow( false ) { +#if 0 + /* FIXME: Remove this ifdefed code if nobody complains (2008.04.23) */ setStyleDependantFrameWidth(); +#endif // Setup the header QStringList headerNames; @@ -300,6 +303,9 @@ void KMMimePartTree::slotSaveAll() command->start(); } +#if 0 + /* FIXME: Remove this ifdefed code if nobody complains (2008.04.23) */ + //----------------------------------------------------------------------------- void KMMimePartTree::setStyleDependantFrameWidth() { @@ -319,13 +325,13 @@ void KMMimePartTree::setStyleDependantFrameWidth() setLineWidth( frameWidth ); } - //----------------------------------------------------------------------------- void KMMimePartTree::styleChange( QStyle& oldStyle ) { setStyleDependantFrameWidth(); QTreeWidget::styleChange( oldStyle ); } +#endif //----------------------------------------------------------------------------- void KMMimePartTree::correctSize( QTreeWidgetItem * item ) diff --git a/kmmimeparttree.h b/kmmimeparttree.h index aefc34ba1..a5c504a0d 100644 --- a/kmmimeparttree.h +++ b/kmmimeparttree.h @@ -85,15 +85,21 @@ protected slots: void slotCopy(); protected: +#if 0 + /* FIXME: Remove this ifdefed code if nobody complains (2008.04.23) */ /** reimplemented in order to update the frame width in case of a changed GUI style FIXME: Still needed with Qt4 ? */ virtual void styleChange( QStyle& oldStyle ); +#endif virtual void startDrag( Qt::DropActions actions ); virtual void showEvent( QShowEvent* e ); +#if 0 + /* FIXME: Remove this ifdefed code if nobody complains (2008.04.23) */ /** Set the width of the frame to a reasonable value for the current GUI style */ void setStyleDependantFrameWidth(); +#endif void restoreLayoutIfPresent(); void startHandleAttachmentCommand( int action ); void saveSelectedBodyParts( bool encoded );