diff libgui/src/main-window.cc @ 23070:bef714f45999

maint: Use space after function name/before parenthesis in libgui. * Backend.cc, ButtonControl.cc, ButtonGroup.cc, Canvas.cc, Container.cc, EditControl.cc, GLCanvas.cc, ListBoxControl.cc, ListBoxControl.h, PopupMenuControl.cc, QtHandlesUtils.cc, TextControl.cc, TextEdit.h, annotation-dialog.cc, annotation-dialog.h, gl-select.cc, dialog.cc, files-dock-widget.cc, find-files-dialog.cc, history-dock-widget.cc, file-editor-tab.cc, file-editor.cc, file-editor.h, find-dialog.cc, marker.cc, octave-qscintilla.cc, octave-qscintilla.h, main-window.cc, octave-dock-widget.cc, octave-dock-widget.h, octave-gui.cc, parser.cc, parser.h, webinfo.cc, settings-dialog.cc, shortcut-manager.cc, welcome-wizard.cc, workspace-view.cc: Use space after function name and before parenthesis.
author Rik <rik@octave.org>
date Wed, 18 Jan 2017 17:36:36 -0800
parents 3a2b891d0b33
children 0fed4c678795
line wrap: on
line diff
--- a/libgui/src/main-window.cc	Wed Jan 18 17:48:32 2017 -0500
+++ b/libgui/src/main-window.cc	Wed Jan 18 17:36:36 2017 -0800
@@ -400,7 +400,7 @@
       release_notes_window->setLayout (vlayout);
       release_notes_window->setWindowTitle (tr ("Octave Release Notes"));
 
-      browser->document()->adjustSize ();
+      browser->document ()->adjustSize ();
 
       // center the window on the screen where octave is running
       QDesktopWidget *m_desktop = QApplication::desktop ();
@@ -1382,7 +1382,7 @@
                resource_manager::instance, SLOT (cleanup_instance ()));
 
       connect (qApp, SIGNAL (focusChanged (QWidget*, QWidget*)),
-               this, SLOT(focus_changed (QWidget*, QWidget*)));
+               this, SLOT (focus_changed (QWidget*, QWidget*)));
 
       connect (this, SIGNAL (settings_changed (const QSettings *)),
                this, SLOT (notice_settings (const QSettings *)));
@@ -1681,9 +1681,9 @@
 void
 main_window::disable_menu_shortcuts (bool disable)
 {
-  QHash<QMenu*, QStringList>::const_iterator i = _hash_menu_text.constBegin();
-
-  while (i != _hash_menu_text.constEnd())
+  QHash<QMenu*, QStringList>::const_iterator i = _hash_menu_text.constBegin ();
+
+  while (i != _hash_menu_text.constEnd ())
     {
       i.key ()->setTitle (i.value ().at (disable));
       ++i;