[kopete-bugs] [Bug 244254] Crash when receiving file over jabber protocol (google talk)

Nicolas Lécureuil nlecureuil at mandriva.com
Tue Jul 20 23:22:36 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=244254


Nicolas Lécureuil <nlecureuil at mandriva.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nlecureuil at mandriva.com




--- Comment #1 from Nicolas Lécureuil <nlecureuil mandriva com>  2010-07-20 23:22:29 ---
can someone review this patch ? 

Index: kopete/libkopete/kopetechatsession.cpp
===================================================================
--- kopete/libkopete/kopetechatsession.cpp      (révision 1151097)
+++ kopete/libkopete/kopetechatsession.cpp      (copie de travail)
@@ -537,7 +537,7 @@
                QWidget *viewWidget = 0L;
                bool isActiveWindow = false;

-               if ( !account()->isAway() ||
Kopete::BehaviorSettings::self()->enableEventsWhileAway() )
+               if ( viewWidget && ( !account()->isAway() ||
Kopete::BehaviorSettings::self()->enableEventsWhileAway() ) )
                {
                        viewWidget = dynamic_cast<QWidget*>(view(false));
                        isActiveWindow = view(false) &&
viewWidget->isActiveWindow();

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the kopete-bugs mailing list