Mercurial > octave
diff libgui/src/set-path-model.cc @ 27935:f1844e33f621
maint: Use Octave coding conventions in libgui/ directory.
* Table.cc, qt-graphics-toolkit.cc, documentation.cc, documentation.h,
files-dock-widget.cc, find-files-dialog.cc, gui-preferences-cs.h,
gui-preferences-dw.h, gui-preferences-ed.h, gui-preferences-ff.h,
gui-preferences-mw.h, gui-preferences-sc.h, history-dock-widget.cc,
file-editor-tab.cc, file-editor.cc, find-dialog.cc, octave-qscintilla.cc,
main-window.cc, octave-dock-widget.cc, octave-qobject.cc, resource-manager.cc,
set-path-dialog.cc, set-path-model.cc, settings-dialog.cc, settings-dialog.h,
shortcut-manager.cc, tab-bar.cc, variable-editor.cc, workspace-model.cc,
workspace-model.h, workspace-view.cc:
Use Octave coding conventions in libgui/ directory.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 12 Jan 2020 09:33:21 -0800 |
parents | bd51beb6205e |
children | 1ac5a76ae91d 0a5b15007766 |
line wrap: on
line diff
--- a/libgui/src/set-path-model.cc Sat Jan 11 13:55:55 2020 -0800 +++ b/libgui/src/set-path-model.cc Sun Jan 12 09:33:21 2020 -0800 @@ -114,7 +114,7 @@ clear (); beginInsertRows (QModelIndex (), 0, m_orig_dirs.size () - 1); - m_dirs = m_orig_dirs; + m_dirs = m_orig_dirs; endInsertRows (); model_to_path (); @@ -125,7 +125,7 @@ clear (); beginInsertRows (QModelIndex (), 0, m_last_dirs.size () - 1); - m_dirs = m_last_dirs; + m_dirs = m_last_dirs; endInsertRows (); model_to_path (); @@ -155,7 +155,7 @@ const QModelIndex& idx = indices.at (i); beginRemoveRows (idx, idx.row (), idx.row ()); - m_dirs.removeAt (idx.row ()); + m_dirs.removeAt (idx.row ()); endRemoveRows (); } @@ -176,7 +176,7 @@ beginMoveRows (idx, idx.row (), idx.row (), this->index (idx.row () - 1), idx.row () - 1); - m_dirs.move (idx.row (), idx.row () - 1); + m_dirs.move (idx.row (), idx.row () - 1); endMoveRows (); } @@ -199,7 +199,7 @@ beginMoveRows (idx, idx.row (), idx.row (), this->index (idx.row () + 1), idx.row () + 1); - m_dirs.move (idx.row (), idx.row () + 1); + m_dirs.move (idx.row (), idx.row () + 1); endMoveRows (); } @@ -220,7 +220,7 @@ beginMoveRows (idx, idx.row (), idx.row (), this->index (i), i); - m_dirs.move (idx.row (), i); + m_dirs.move (idx.row (), i); endMoveRows (); } @@ -243,7 +243,7 @@ beginMoveRows (idx, idx.row (), idx.row (), this->index (target), target); - m_dirs.move (idx.row (), target); + m_dirs.move (idx.row (), target); endMoveRows (); }