[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/akregator/src
From: David Faure <faure () kde ! org>
Date: 2009-09-17 14:49:03
Message-ID: 1253198943.667001.11931.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1024911 by dfaure:
Forwardport 1024907:
Add null-check in setTitle too (r990396 was about tabWidthForMaxChars).
(BUG 185597)
M +3 -0 tabwidget.cpp
--- trunk/KDE/kdepim/akregator/src/tabwidget.cpp #1024910:1024911
@@ -308,6 +308,9 @@
for( int i = 0; i < q->count(); ++i)
{
Frame* f = frames.value(q->widget(i));
+ if ( !f ) {
+ continue; // frames is out of sync, e.g. because tabInserted wasn't called yet - #185597
+ }
newTitle = f->title();
int index = q->indexOf(q->widget( i ));
q->setTabToolTip( index, QString() );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic