# HG changeset patch # User thomas_-_s # Date 1211828352 0 # Node ID e8376fc4ce7497c8a330818c102bb883deacfea7 # Parent cb2bed53ad8bd2aa0e6d146ffb8312aa4d55dbca Small correction to only show the indenters shell script name for syntax help and not the complete path. git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@708 59b1889a-e5ac-428c-b0c7-476e01d41282 diff -r cb2bed53ad8b -r e8376fc4ce74 src/mainwindow.cpp --- a/src/mainwindow.cpp Mon May 26 15:35:45 2008 +0000 +++ b/src/mainwindow.cpp Mon May 26 18:59:12 2008 +0000 @@ -1412,7 +1412,7 @@ } // Replace placeholder for script name in script template. - indenterCallShellScript = indenterCallShellScript.replace("__INDENTERCALLSTRINGSCRIPTNAME__", fileName); + indenterCallShellScript = indenterCallShellScript.replace( "__INDENTERCALLSTRINGSCRIPTNAME__", QFileInfo(fileName).fileName() ); // Delete any old file, write the new contents and set executable permissions. QFile::remove(fileName);