Changeset View
Changeset View
Standalone View
Standalone View
addons/symbolviewer/bash_parser.cpp
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | 26 | { | |||
---|---|---|---|---|---|
42 | //It is necessary to change names | 42 | //It is necessary to change names | ||
43 | m_func->setText(i18n("Show Functions")); | 43 | m_func->setText(i18n("Show Functions")); | ||
44 | 44 | | |||
45 | if(m_treeOn->isChecked()) | 45 | if(m_treeOn->isChecked()) | ||
46 | { | 46 | { | ||
47 | funcNode = new QTreeWidgetItem(m_symbols, QStringList(i18n("Functions") ) ); | 47 | funcNode = new QTreeWidgetItem(m_symbols, QStringList(i18n("Functions") ) ); | ||
48 | funcNode->setIcon(0, QIcon(func)); | 48 | funcNode->setIcon(0, QIcon(func)); | ||
49 | 49 | | |||
50 | if (m_plugin->expandedOn) | 50 | if (m_expandOn->isChecked()) | ||
51 | { | 51 | { | ||
52 | m_symbols->expandItem(funcNode); | 52 | m_symbols->expandItem(funcNode); | ||
53 | } | 53 | } | ||
54 | 54 | | |||
55 | lastFuncNode = funcNode; | 55 | lastFuncNode = funcNode; | ||
56 | 56 | | |||
57 | m_symbols->setRootIsDecorated(1); | 57 | m_symbols->setRootIsDecorated(1); | ||
58 | } | 58 | } | ||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |