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

List:       kde-commits
Subject:    KDE/kdenetwork/kopete/kopete/chatwindow
From:       Roman Jarosz <kedgedev () centrum ! cz>
Date:       2007-11-13 22:07:48
Message-ID: 1194991668.907112.11931.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 736306 by rjarosz:

Fix crash, first create QVBoxLayout object and then set margins.



 M  +1 -1      kopetechatwindow.cpp  


--- trunk/KDE/kdenetwork/kopete/kopete/chatwindow/kopetechatwindow.cpp #736305:736306
@@ -236,8 +236,8 @@
 	mainArea = new QFrame( vBox );
 	mainArea->setLineWidth( 0 );
 	mainArea->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding ) );
+	mainLayout = new QVBoxLayout( mainArea );
 	mainLayout->setContentsMargins(0, 4, 0, 0);
-	mainLayout = new QVBoxLayout( mainArea );
 
 	if ( Kopete::BehaviorSettings::self()->chatWindowShowSendButton() )
 	{
[prev in list] [next in list] [prev in thread] [next in thread] 

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