diff options
| author | 2008-10-18 17:40:24 +0000 | |
|---|---|---|
| committer | 2008-10-18 17:40:24 +0000 | |
| commit | 03fbd0f8e33ddf740cc7741ff6c02f552ad7197b (patch) | |
| tree | 54f22a6ba15d7d9eb3b895c6e4fc09f4978d573f /src/modules/options/optw_proxy.cpp | |
| parent | applied patch for FreeBsd compilation by THeLoox (diff) | |
| download | KVIrc-03fbd0f8e33ddf740cc7741ff6c02f552ad7197b.tar.gz KVIrc-03fbd0f8e33ddf740cc7741ff6c02f552ad7197b.tar.bz2 KVIrc-03fbd0f8e33ddf740cc7741ff6c02f552ad7197b.zip | |
removed some helper structs used for qt4/qt3 compatibility
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2758 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/options/optw_proxy.cpp')
| -rw-r--r-- | src/modules/options/optw_proxy.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/options/optw_proxy.cpp b/src/modules/options/optw_proxy.cpp index 5ebbc7979..5cd2b5bee 100644 --- a/src/modules/options/optw_proxy.cpp +++ b/src/modules/options/optw_proxy.cpp @@ -44,9 +44,10 @@ KviProxyOptionsTreeWidgetItem::KviProxyOptionsTreeWidgetItem(KviTalTreeWidget *parent,const QPixmap &pm,KviProxy * prx) -: KviTalTreeWidgetItem(parent,prx->m_szHostname) +: KviTalTreeWidgetItem(parent) { debug("Creating item"); + setText(0,prx->m_szHostname); setIcon(0,QIcon(pm)); m_pProxyData = new KviProxy(*prx); } @@ -66,7 +67,7 @@ KviProxyOptionsWidget::KviProxyOptionsWidget(QWidget * parent) m_pTreeWidget = new KviTalTreeWidget(this); addWidgetToLayout(m_pTreeWidget,0,1,0,1); - m_pTreeWidget->addColumn(__tr2qs_ctx("Proxy","options")); + m_pTreeWidget->setHeaderLabel(__tr2qs_ctx("Proxy","options")); m_pTreeWidget->setRootIsDecorated(true); m_pTreeWidget->setAllColumnsShowFocus(true); m_pTreeWidget->setSelectionMode(QAbstractItemView::SingleSelection); |
