[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenetwork/ksirc
From: Andrew Stanley-Jones <asj () cban ! com>
Date: 2004-02-17 16:11:56
Message-ID: 20040217161156.E9B4C9961 () office ! kde ! org
[Download RAW message or body]
CVS commit by asj:
Pass in winid
M +13 -9 toplevel.cpp 1.319
--- kdenetwork/ksirc/toplevel.cpp #1.318:1.319
@@ -1740,8 +1740,12 @@ 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