summaryrefslogtreecommitdiff
path: root/src/modelmenu.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-06-20 10:36:31 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-06-20 10:36:31 +0200
commit33ac88b25eeb188617da4e445e34eddefbfa8b86 (patch)
tree1a5470397aa0117256126a7140c825a11241bde3 /src/modelmenu.cpp
parentHistory Panel Action fix (diff)
downloadrekonq-33ac88b25eeb188617da4e445e34eddefbfa8b86.tar.xz
RFC. History Menu Revisited.
Diffstat (limited to 'src/modelmenu.cpp')
-rw-r--r--src/modelmenu.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modelmenu.cpp b/src/modelmenu.cpp
index 9ff37037..8f174797 100644
--- a/src/modelmenu.cpp
+++ b/src/modelmenu.cpp
@@ -171,18 +171,18 @@ void ModelMenu::createMenu(const QModelIndex &parent, int max, QMenu *parentMenu
for (int i = 0; i < end; ++i)
{
QModelIndex idx = m_model->index(i, 0, parent);
- if (m_model->hasChildren(idx))
+/* if (m_model->hasChildren(idx))
{
createMenu(idx, -1, menu);
}
else
- {
+ {*/
if (m_separatorRole != 0
&& idx.data(m_separatorRole).toBool())
addSeparator();
else
menu->addAction(makeAction(idx));
- }
+// }
if (menu == this && i == m_firstSeparator - 1)
addSeparator();
}