Репозитории ALT
S: | 4.8.7-alt25 |
5.1: | 4.6.3-alt1.M51.1 |
4.1: | 4.4.3-alt1.M41.1 |
4.0: | 4.3.4-alt5.M40.1 |
3.0: | 4.0.1-alt1 |
+updates: | 4.0.1-alt2 |
+backports: | 4.2.3-alt7.1.M30 |
Группа :: Система/Библиотеки
Пакет: qt4
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: 0214-fix-qgraphicsproxywidget-tab-crash.diff
Скачать
Скачать
qt-bugs@ issue : N199058
Trolltech task ID : none
applied: no
author: Frerich Raabe <raabe@kde.org>
Fixes a crash in QGraphicsProxyWidget which was triggered when no
QGraphicsProxyWidget item in a QGraphicsScene had a QWidget associated
with it. As soon as the user pressed <Tab>, QGraphicsProxyWidget
attempted to give the focus to *some* QWidget (even if it was null).
Index: src/gui/graphicsview/qgraphicsproxywidget.cpp
===================================================================
--- src/gui/graphicsview/qgraphicsproxywidget.cpp (revision 775038)
+++ src/gui/graphicsview/qgraphicsproxywidget.cpp (working copy)
@@ -323,6 +323,10 @@
}
}
+ if (!child) {
+ return 0;
+ }
+
QWidget *oldChild = child;
do {
if (child->isEnabled()