[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [Konversation] d5467b1: Make opaque resizing configurable. (BR63940)
From:       Waldo Bastian <bastian () kde ! org>
Date:       2010-07-01 13:26:56
Message-ID: 20100701132656.C6FA6BB5490 () projects ! kde ! org
[Download RAW message or body]

commit d5467b1e863299cd42dc94f77a67043eadb12a47
Author: Waldo Bastian <bastian@kde.org>
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 <kpassdlg.h>
 #include <klocale.h>
 #include <kdebug.h>
+#include <kglobalsettings.h>
+#include <kdeversion.h>
 
 #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);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic