1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 07_masterpatch.patch by Stéphane Graber <stgraber@ubuntu.com>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: Patch from upstream to fix a crash in ima
8
Index: ../ima/src/client.cpp
9
===================================================================
10
--- ../ima/src/client.cpp (Revision 402)
11
+++ ../ima/src/client.cpp (Arbeitskopie)
14
void client::update( void )
16
+ // at least set tooltip with user-name if it is not displayed
18
+ if( m_connection->state() == ivsConnection::Connected &&
19
+ !m_mainWindow->getClassroomManager()->showUsername() )
21
+ if( toolTip() != m_user )
23
+ setToolTip( m_user );
28
+ setToolTip( QString() );
31
m_state = currentState();
38
- QString tooltip = "";
42
@@ -1036,12 +1050,6 @@
45
m_user = m_connection->user();
46
- // at least set tooltip with user-name if it is not displayed
48
- if( !m_mainWindow->getClassroomManager()->showUsername() )
55
@@ -1049,13 +1057,6 @@
59
- if( toolTip() != tooltip )
61
- setToolTip( tooltip );
68
m_classRoomItem->setUser( m_user );