summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/protolistview.cpp
Unidiff
Diffstat (limited to 'noncore/net/wellenreiter/gui/protolistview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/protolistview.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/noncore/net/wellenreiter/gui/protolistview.cpp b/noncore/net/wellenreiter/gui/protolistview.cpp
index 05ff5e7..d4b0dfe 100644
--- a/noncore/net/wellenreiter/gui/protolistview.cpp
+++ b/noncore/net/wellenreiter/gui/protolistview.cpp
@@ -103,9 +103,15 @@ bool ProtocolListView::isProtocolChecked( const QString& name )
103} 103}
104 104
105 105
106QString ProtocolListView::protocolAction( const QString& name ) const 106QString ProtocolListView::protocolAction( const QString& name )
107{ 107{
108 //FIXME 108 //QObject * child ( const char * objName, const char * inheritsClass = 0,
109 // bool recursiveSearch = TRUE )
110
111 QComboBox* combo = (QComboBox*) child( (const char*) name, "QComboBox" );
112 if ( combo )
113 return combo->currentText();
114 else
115 return "<unknown>";
109} 116}
110 117
111