another null pointer check
svn path=/trunk/KDE/kdelibs/; revision=1027780
This commit is contained in:
parent
03c1fca71d
commit
bb11bbf81b
@ -339,7 +339,7 @@ void TabBar::setCurrentIndex(int index)
|
||||
d->newPage = 0;
|
||||
}
|
||||
|
||||
if (d->newPage) {
|
||||
if (d->newPage && d->oldPage) {
|
||||
d->newPage->resize(d->oldPage->size());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user