summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--konversation/src/channel.cpp2
-rw-r--r--konversation/src/konvibookmarkmenu.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/konversation/src/channel.cpp b/konversation/src/channel.cpp
index c6ea53c..a8ac8a3 100644
--- a/konversation/src/channel.cpp
+++ b/konversation/src/channel.cpp
@@ -2733,7 +2733,7 @@ void Channel::setIdentity(const IdentityPtr identity)
bool Channel::eventFilter(TQObject* watched, TQEvent* e)
{
- if((TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(nicknameListView)) && (e->type() == TQEvent::Resize) && splittersInitialized && isShown())
+ if(watched == nicknameListView && e->type() == TQEvent::Resize && splittersInitialized && isShown())
{
if (!topicSplitterHidden && !channelSplitterHidden)
{
diff --git a/konversation/src/konvibookmarkmenu.cpp b/konversation/src/konvibookmarkmenu.cpp
index 9a03fd6..d4685e0 100644
--- a/konversation/src/konvibookmarkmenu.cpp
+++ b/konversation/src/konvibookmarkmenu.cpp
@@ -147,7 +147,7 @@ void KonviBookmarkMenu::slotBookmarkSelected()
{
if ( !m_pOwner ) return; // this view doesn't handle bookmarks...
/* URL */
- m_kOwner->openBookmarkURL( TQString::fromUtf8(TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name()),
+ m_kOwner->openBookmarkURL( TQString::fromUtf8(sender()->name()),
( (TDEAction *)sender() )->text() /* Title */ );
}