[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdesdk/kate/plugins/konsole
From:       Anders Lund <anders () alweb ! dk>
Date:       2007-10-04 15:41:23
Message-ID: 1191512483.348467.13884.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 721100 by alund:

make 'pipe to console' work, thanks to pinotree for pointing me in the right direction :-)


 M  +1 -4      kateconsole.cpp  


--- trunk/KDE/kdesdk/kate/plugins/konsole/kateconsole.cpp #721099:721100
@@ -163,11 +163,8 @@
 
   if (!m_part) return;
 
-  if (!m_part->inherits ("TerminalInterface"))
-    return;
+  TerminalInterface *t = qobject_cast<TerminalInterface *>(m_part);
 
-  TerminalInterface *t = (TerminalInterface*) ( m_part );
-
   if (!t) return;
 
   t->sendInput (text);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic