Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 24623 → Rev 24624

/trunk/Scribus/scribus/menumanager.cpp
28,10 → 28,10
 
MenuManager::MenuManager(QMenuBar* mb, QObject *parent) : QObject(parent)
{
scribusMenuBar=mb;
scribusMenuBar = mb;
menuStrings.clear();
m_undoMenu=new QMenu("undo");
m_redoMenu=new QMenu("redo");
m_undoMenu = new QMenu("undo");
m_redoMenu = new QMenu("redo");
rememberedMenus.clear();
}
 
43,7 → 43,7
 
bool MenuManager::createMenu(const QString &menuName, const QString &menuText, const QString& parent, bool checkable, bool rememberMenu)
{
bool retVal=false;
bool retVal = false;
QList<QString> menuEntries;
menuStrings.insert(menuName, menuEntries);
menuStringTexts.insert(menuName, menuText);
57,7 → 57,7
 
bool MenuManager::clearMenu(const QString &menuName)
{
bool retVal=false;
bool retVal = false;
if (menuBarMenus.contains(menuName))
menuBarMenus[menuName]->clear();
return retVal;
256,7 → 256,7
 
bool MenuManager::removeMenuItem(ScrAction *menuAction, const QString &parent)
{
bool retVal=false;
bool retVal = false;
/*
if (menuList.contains(parent) && menuList[parent]!=nullptr)
retVal=menuList[parent]->removeMenuItem(menuAction);