The attached removes a few pointless calls from QInclude.cpp that do
nothing but cause a warning to be written to the console. OK to commit?

rh

-- 
==================================================================
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==================================================================
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto

Index: src/frontends/qt4/QInclude.cpp
===================================================================
--- src/frontends/qt4/QInclude.cpp	(revision 18481)
+++ src/frontends/qt4/QInclude.cpp	(working copy)
@@ -276,10 +276,8 @@
 	int const item = dialog_->typeCO->currentIndex();
 	if (item == 0) {
 		params.setCmdName("include");
-		params.setOptions(string());
 	} else if (item == 1) {
 		params.setCmdName("input");
-		params.setOptions(string());
 	} else if (item == 3) {
 		params.setCmdName("lstinputlisting");
 		// the parameter string should have passed validation
@@ -296,7 +294,6 @@
 			params.setCmdName("verbatiminput*");
 		else
 			params.setCmdName("verbatiminput");
-		params.setOptions(string());
 	}
 	controller().setParams(params);
 }

Reply via email to