Mercurial > octave-dspies
changeset 15316:ba243f0234b0
file-editor-tab.cc (file_editor_tab::open_file): Make argument const reference
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Thu, 06 Sep 2012 14:41:03 -0400 |
parents | 35fe4b9909a8 |
children | d7514add71e2 |
files | libgui/src/m-editor/file-editor-tab.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor-tab.cc Thu Sep 06 13:49:04 2012 -0400 +++ b/libgui/src/m-editor/file-editor-tab.cc Thu Sep 06 14:41:03 2012 -0400 @@ -603,7 +603,7 @@ } bool -file_editor_tab::open_file (QString dir) +file_editor_tab::open_file (const QString& dir) { QString openFileName; QFileDialog fileDialog(this);