Mercurial > hg > forks > UniversalIndentGUI
changeset 471:e8376fc4ce74
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
author | thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282> |
---|---|
date | Mon, 26 May 2008 18:59:12 +0000 |
parents | cb2bed53ad8b |
children | a4798a9a0cb2 |
files | src/mainwindow.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);