r14778 by cbradney - #8827: Add Image Effects to Item menu

scribus-commit scribus-commit at lists.scribus.net
Sat Feb 20 17:10:24 CET 2010


Revision: 14778
Author: cbradney
Date: 2010-02-20T16:03:25.628210Z
Commit message: #8827: Add Image Effects to Item menu

Changeset: 
M  /trunk/Scribus/scribus/scribus.cpp

Diffs:
Index: scribus/scribus.cpp
===================================================================
--- scribus/scribus.cpp	(revision 14777)
+++ scribus/scribus.cpp	(revision 14778)
@@ -765,8 +765,9 @@
 	scrMenuMgr->addMenuSeparator("Item");
 	scrMenuMgr->addMenuItem(scrActions["itemAdjustFrameToImage"], "Item", false);
 	scrMenuMgr->addMenuItem(scrActions["itemAdjustImageToFrame"], "Item", false);
+	scrMenuMgr->addMenuItem(scrActions["itemUpdateImage"], "Item", false);
+	scrMenuMgr->addMenuItem(scrActions["styleImageEffects"], "Item", false);
 	scrMenuMgr->addMenuItem(scrActions["itemExtendedImageProperties"], "Item", false);
-	scrMenuMgr->addMenuItem(scrActions["itemUpdateImage"], "Item", false);
 	scrMenuMgr->createMenu("ItemPreviewSettings", tr("Preview Settings"), "Item");
 	scrMenuMgr->addMenuItem(scrActions["itemImageIsVisible"], "ItemPreviewSettings", false);
 	scrMenuMgr->addMenuSeparator("ItemPreviewSettings");
@@ -8594,7 +8595,7 @@
 QString ScribusMainWindow::CFileDialog(QString wDir, QString caption, QString filter, QString defNa,
                                 int optionFlags, bool *docom, bool *doFont, bool *doProfiles)
 {
-	QString retval = "";
+	QString retval("");
 	// changed from "this" to qApp->activeWindow() to be sure it will be opened
 	// with the current active window as parent. E.g. it won't hide StoryEditor etc. -- PV
 	CustomFDialog *dia = new CustomFDialog(qApp->activeWindow(), wDir, caption, filter, optionFlags);




More information about the scribus-commit mailing list