Mercurial > octave-nkf
diff libgui/src/m-editor/find-dialog.cc @ 15368:36ececf69385
avoid some GCC warnings in the libgui code
* file-editor-interface.h, lexer-octave-gui.cc, main-window.cc,
settings-dialog.cc, workspace-model.cc, workspace-view.cc:
Avoid some shadowed variable, unused switch case, and C-style cast
warnings.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 12 Sep 2012 20:32:57 -0400 |
parents | 501a9cc2c68f |
children | 7d300b85ee25 |
line wrap: on
line diff
--- a/libgui/src/m-editor/find-dialog.cc Wed Sep 12 16:34:39 2012 -0400 +++ b/libgui/src/m-editor/find-dialog.cc Wed Sep 12 20:32:57 2012 -0400 @@ -47,8 +47,8 @@ #include <QIcon> #include "find-dialog.h" -find_dialog::find_dialog (QsciScintilla* edit_area, QWidget *parent) - : QDialog (parent) +find_dialog::find_dialog (QsciScintilla* edit_area, QWidget *p) + : QDialog (p) { setWindowTitle ("Find and Replace"); setWindowIcon (QIcon(":/actions/icons/logo.png"));