comparison libgui/src/dw-main-window.cc @ 27893:465ac679e976

Fix typos and grammar errors in comments in libgui (patch #9790) * color-picker.cc, documentation.cc, dw-main-window.cc, files-dock-widget.cc, gui-preferences-mw.h, history-dock-widget.h, file-editor-tab.cc, file-editor-tab.h, file-editor.cc, find-dialog.cc, octave-qscintilla.cc, main-window.cc, octave-dock-widget.cc, octave-dock-widget.h, resource-manager.cc, shortcut-manager.cc, tab-bar.cc, tab-bar.h, variable-editor.cc, variable-editor.h, workspace-model.cc, workspace-view.cc: Fix typos and grammar errors in comments.
author Andrew Janke <andrew@apjanke.net>
date Thu, 11 Apr 2019 07:37:20 -0400
parents fa0582694fda
children b442ec6dda5c
comparison
equal deleted inserted replaced
27892:77320d48b33e 27893:465ac679e976
229 } 229 }
230 230
231 if (ev->type () == QEvent::StyleChange) 231 if (ev->type () == QEvent::StyleChange)
232 { 232 {
233 // This might indicate un- or re-docking a widget: Make sure 233 // This might indicate un- or re-docking a widget: Make sure
234 // floating widget get a copy of our actions 234 // floating widgets get a copy of our actions
235 for (int i = m_dw_list.length () - 1; i >= 0; i--) 235 for (int i = m_dw_list.length () - 1; i >= 0; i--)
236 { 236 {
237 // First remove possibly existing actions 237 // First remove possibly existing actions
238 for (int j = m_actions_list.length () - 1; j >0; j--) 238 for (int j = m_actions_list.length () - 1; j >0; j--)
239 m_dw_list.at (i)->removeAction (m_actions_list.at (j)); 239 m_dw_list.at (i)->removeAction (m_actions_list.at (j));