summaryrefslogtreecommitdiffstats
path: root/parts/documentation/contentsview.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2014-10-07 22:45:44 +0900
committerMichele Calgaro <[email protected]>2014-10-07 22:45:44 +0900
commitb98d05cb4db601d354d72915a57a09affb2ab29a (patch)
tree3f99b19e8dbbf94c62246eb2b10416942e138be0 /parts/documentation/contentsview.cpp
parent62e6de96e7d032e4cc947e34f39b5ba05f0800ba (diff)
downloadtdevelop-b98d05cb4db601d354d72915a57a09affb2ab29a.tar.gz
tdevelop-b98d05cb4db601d354d72915a57a09affb2ab29a.zip
Sort Documentation pane list in alphabetical order. This relates to bug 1859.
Diffstat (limited to 'parts/documentation/contentsview.cpp')
-rw-r--r--parts/documentation/contentsview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/parts/documentation/contentsview.cpp b/parts/documentation/contentsview.cpp
index 532feefd..36c1fcbe 100644
--- a/parts/documentation/contentsview.cpp
+++ b/parts/documentation/contentsview.cpp
@@ -44,8 +44,8 @@ ContentsView::ContentsView(DocumentationWidget *parent, const char *name)
m_view->header()->hide();
m_view->setResizeMode(TQListView::AllColumns);
m_view->setRootIsDecorated(true);
- m_view->setSorting(-1);
- m_view->setAllColumnsShowFocus( true );
+ m_view->setSorting(0);
+ m_view->setAllColumnsShowFocus(true);
connect(m_view, TQT_SIGNAL(executed(TQListViewItem*, const TQPoint&, int )),
this, TQT_SLOT(itemExecuted(TQListViewItem*, const TQPoint&, int )));