[Kst] extragear/graphics/kst/src/libkstapp
George Staikos
staikos at kde.org
Tue Jan 23 03:06:23 CET 2007
SVN commit 626381 by staikos:
Only search column 0. Is this really what we want? I'm not convinced either
way right now, but at least this shows how to solve the problem
BUG: 140466
M +4 -0 kstdatamanager_i.cpp
--- trunk/extragear/graphics/kst/src/libkstapp/kstdatamanager_i.cpp #626380:626381
@@ -614,6 +614,10 @@
connect(DataView, SIGNAL(contextMenuRequested(QListViewItem*, const QPoint&, int)), this, SLOT(contextMenu(QListViewItem*, const QPoint&, int)));
_searchWidget = new KListViewSearchLineWidget(DataView, SearchBox);
+ QValueList<int> cols;
+ cols.append(0);
+ _searchWidget->createSearchLine(DataView);
+ _searchWidget->searchLine()->setSearchColumns(cols);
QMainWindow *main = static_cast<QMainWindow*>(parent);
main->setUsesTextLabel(true);
More information about the Kst
mailing list