r24624 by jghali - Code style fixes
scribus-commit
scribus-commit at lists.scribus.net
Tue Apr 13 21:26:27 UTC 2021
Author: jghali
Date: Tue Apr 13 21:26:27 2021
New Revision: 24624
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24624
Log:
Code style fixes
Modified:
trunk/Scribus/scribus/menumanager.cpp
Modified: trunk/Scribus/scribus/menumanager.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24624&path=/trunk/Scribus/scribus/menumanager.cpp
==============================================================================
--- trunk/Scribus/scribus/menumanager.cpp (original)
+++ trunk/Scribus/scribus/menumanager.cpp Tue Apr 13 21:26:27 2021
@@ -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);
More information about the scribus-commit
mailing list