[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE_3_2_BRANCH: kdenetwork/ksirc
From: Andrew Stanley-Jones <asj () cban ! com>
Date: 2004-02-17 21:24:29
Message-ID: 20040217212429.8DE939970 () office ! kde ! org
[Download RAW message or body]
CVS commit by asj:
Backport from head, fix buglet
M +6 -4 toplevel.cpp 1.316.2.1
--- kdenetwork/ksirc/toplevel.cpp #1.316:1.316.2.1
@@ -1740,8 +1740,10 @@ void KSircTopLevel::doChange(bool pers,
if ( QABS( lastBeep.secsTo( ctime ) ) > 1 ) {
if ( pers ) {
- KNotifyClient::event(QString::fromLatin1("ChannelPersonal"),
+ int winId = !ticker ? topLevelWidget()->winId() : ticker->winId();
+ KNotifyClient::event(winId, QString::fromLatin1("ChannelPersonal"),
i18n("Your nick appeared on channel %1").arg(m_channelInfo.channel()));
} else {
- KNotifyClient::event(QString::fromLatin1("ChannelChanged"),
+ int winId = !ticker ? topLevelWidget()->winId() : ticker->winId();
+ KNotifyClient::event(winId, QString::fromLatin1("ChannelChanged"),
i18n("Channel %1 changed").arg(m_channelInfo.channel()));
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic