rpms/qtiplot/devel qtiplot-manualpath.patch,NONE,1.1

supercyper supercyper at fedoraproject.org
Thu Mar 18 05:37:15 UTC 2010


Author: supercyper

Update of /cvs/pkgs/rpms/qtiplot/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2625

Added Files:
	qtiplot-manualpath.patch 
Log Message:
disable choosing of help folder at runtime


qtiplot-manualpath.patch:
 ApplicationWindow.cpp |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

--- NEW FILE qtiplot-manualpath.patch ---
--- qtiplot-0.9.7.13.org/qtiplot/src/core/ApplicationWindow.cpp	2010-03-17 15:32:17.000000000 +0800
+++ qtiplot-0.9.7.13/qtiplot/src/core/ApplicationWindow.cpp	2010-03-18 13:02:36.064460415 +0800
@@ -1427,7 +1427,7 @@
 	menuBar()->addMenu(help);
 
 	help->addAction(actionShowHelp);
-	help->addAction(actionChooseHelpFolder);
+//	help->addAction(actionChooseHelpFolder);
 	help->insertSeparator();
 	help->addAction(actionHomePage);
 	help->addAction(actionCheckUpdates);
@@ -5212,7 +5212,7 @@
 	scriptsDirPath = settings.value("/ScriptsDir", appPath).toString();
 	fitModelsPath = settings.value("/FitModelsDir", "").toString();
 	customActionsDirPath = settings.value("/CustomActionsDir", "").toString();
-	helpFilePath = settings.value("/HelpFile", helpFilePath).toString();
+//	helpFilePath = settings.value("/HelpFile", helpFilePath).toString();
 	d_translations_folder = settings.value("/Translations", d_translations_folder).toString();
 	d_python_config_folder = settings.value("/PythonConfigDir", d_python_config_folder).toString();
 	d_latex_compiler_path = settings.value("/LaTeXCompiler", d_latex_compiler_path).toString();
@@ -13504,8 +13504,8 @@
 	actionShowHelp->setShortcut( tr("Ctrl+H") );
 	connect(actionShowHelp, SIGNAL(activated()), this, SLOT(showHelp()));
 
-	actionChooseHelpFolder = new QAction(tr("&Choose Help Folder..."), this);
-	connect(actionChooseHelpFolder, SIGNAL(activated()), this, SLOT(chooseHelpFolder()));
+//	actionChooseHelpFolder = new QAction(tr("&Choose Help Folder..."), this);
+//	connect(actionChooseHelpFolder, SIGNAL(activated()), this, SLOT(chooseHelpFolder()));
 
 	actionRename = new QAction(tr("&Rename Window"), this);
 	connect(actionRename, SIGNAL(activated()), this, SLOT(rename()));
@@ -14335,7 +14335,7 @@
 	actionShowHelp->setMenuText(tr("&Help"));
 	actionShowHelp->setShortcut(tr("Ctrl+H"));
 
-	actionChooseHelpFolder->setMenuText(tr("&Choose Help Folder..."));
+//	actionChooseHelpFolder->setMenuText(tr("&Choose Help Folder..."));
 	actionRename->setMenuText(tr("&Rename Window"));
 
 	actionCloseWindow->setMenuText(tr("Close &Window"));



More information about the scm-commits mailing list