Mercurial > octave
changeset 23387:374465c2f3aa
* main-window.cc: Avoid shadowed declaration.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 12 Apr 2017 10:10:54 -0400 |
parents | f1ea44e92df8 |
children | 41dcc5c1e41f |
files | libgui/src/main-window.cc |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/main-window.cc Wed Apr 12 10:04:05 2017 -0400 +++ b/libgui/src/main-window.cc Wed Apr 12 10:10:54 2017 -0400 @@ -1603,7 +1603,6 @@ if (new_name.rightRef (2) != ".m") new_name.append (".m"); // check whether new files are created without prompt - QSettings *settings = resource_manager::get_settings (); if (! settings->value ("editor/create_new_file",false).toBool ()) { // no, so enable this settings and wait for end of new file loading