diff libgui/src/resource-manager.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 f68c7c56e5f2
children b442ec6dda5c
line wrap: on
line diff
--- a/libgui/src/resource-manager.cc	Wed Jan 01 17:40:49 2020 +0100
+++ b/libgui/src/resource-manager.cc	Thu Apr 11 07:37:20 2019 -0400
@@ -92,7 +92,7 @@
         // location ($HOME/.config/octave/qt-settings) for impoting all
         // available keys into the new settings file.
         // Do not look for an old settings file if XDG_CONFIG_HOME is set,
-        // since then a non-existin new settings file does not necessarily
+        // since then a nonexistent new settings file does not necessarily
         // indicate a first run of octave with new config file locations.
 #if defined (HAVE_QSTANDARDPATHS)
         QString home_path
@@ -109,7 +109,7 @@
 
         if (ofile.exists ())
           {
-            // Old settings file exists, create a gui_settings object related
+            // Old settings file exists; create a gui_settings object related
             // to it and copy all available keys to the new settings
             gui_settings old_settings (old_settings_file, QSettings::IniFormat);
 
@@ -377,8 +377,8 @@
     if (! m_settings->value (global_icon_theme).toBool ())
       return QIcon (":/actions/icons/" + icon_name + ".png");
 
-    // Use system icon theme with own files as fallback except the fallback is
-    // explicitly disabled (fallback=false)
+    // Use system icon theme with own files as fallback except when the
+    // fallback is explicitly disabled (fallback=false)
     if (fallback)
       return QIcon::fromTheme (icon_name,
                                QIcon (":/actions/icons/" + icon_name + ".png"));