commit d5467b1e863299cd42dc94f77a67043eadb12a47 Author: Waldo Bastian Date: Tue Oct 14 19:40:17 2003 +0000 Make opaque resizing configurable. (BR63940) svn path=/trunk/kdeextragear-2/konversation/; revision=258991 diff --git a/konversation/channel.cpp b/konversation/channel.cpp index e6ea3b3..a026ce7 100644 --- a/konversation/channel.cpp +++ b/konversation/channel.cpp @@ -29,6 +29,8 @@ #include #include #include +#include +#include #include "konversationapplication.h" #include "channel.h" @@ -81,7 +83,11 @@ Channel::Channel(QWidget* parent) : ChatWindow(parent) // (this) The main Box, holding the channel view/topic and the input line splitter=new QSplitter(this); setStretchFactor(splitter,10); +#if KDE_IS_VERSION( 3, 1,92 ) + splitter->setOpaqueResize( KGlobalSettings::opaqueResize() ); +#else splitter->setOpaqueResize(true); +#endif // The grid for the topic line and Channel View QVBox* topicViewNicksGrid=new QVBox(splitter);