summaryrefslogtreecommitdiffstats
path: root/ksirc/servercontroller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/servercontroller.cpp')
-rw-r--r--ksirc/servercontroller.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ksirc/servercontroller.cpp b/ksirc/servercontroller.cpp
index 7fc945db..c525ec65 100644
--- a/ksirc/servercontroller.cpp
+++ b/ksirc/servercontroller.cpp
@@ -762,14 +762,14 @@ void servercontroller::WindowSelected(TQListViewItem *item)
if ( !item )
return;
- TQListViewItem *tqparent_server = item->tqparent();
- if(!tqparent_server)
+ TQListViewItem *parent_server = item->tqparent();
+ if(!parent_server)
return;
- TQString txt = TQString(tqparent_server->text(0)) + "_" + item->text(0) + "_toplevel";
+ TQString txt = TQString(parent_server->text(0)) + "_" + item->text(0) + "_toplevel";
TQWidget *obj = dynamic_cast<TQWidget *>( objFinder::tqfind(txt.utf8(), "KSircTopLevel"));
if(obj == 0x0){
- txt =TQString(tqparent_server->text(0)) + "_!" + item->text(0) + "_toplevel";
+ txt =TQString(parent_server->text(0)) + "_!" + item->text(0) + "_toplevel";
obj = dynamic_cast<TQWidget *>( objFinder::tqfind(txt.utf8(), "KSircTopLevel"));
}