diff options
Diffstat (limited to 'experimental/tqtinterface/qt4/tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp')
-rw-r--r-- | experimental/tqtinterface/qt4/tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/experimental/tqtinterface/qt4/tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp b/experimental/tqtinterface/qt4/tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp index fe84703e7..5d3c96fbb 100644 --- a/experimental/tqtinterface/qt4/tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp +++ b/experimental/tqtinterface/qt4/tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp @@ -100,7 +100,7 @@ SourceTemplateInterface::Source SourceTemplateInterfaceImpl::create( const TQStr formFileName( dia.listForms->text( dia.listForms->currentItem() ) ); include.remove( include.length() - 2, 2 ); include += "h"; - int slashFind = include.tqfindRev('/'); + int slashFind = include.findRev('/'); if (slashFind != -1) include = include.mid(slashFind+1); src.code = generateMainCppCode( dia.listForms->text( dia.listForms->currentItem() ), |