# HG changeset patch # User Rik # Date 1515089251 28800 # Node ID 2bee24503a13d08d5edfebb730bf46f9bdfdae7d # Parent e61e26d1ede953fcfd02cf09ecbff66ffc333e84 maint: Correct some typos in code comments in color-picker.cc. * color-picker.cc: Correct "bitton" -> "button", "selct" -> "select". diff -r e61e26d1ede9 -r 2bee24503a13 libgui/src/color-picker.cc --- a/libgui/src/color-picker.cc Thu Jan 04 09:52:07 2018 -0800 +++ b/libgui/src/color-picker.cc Thu Jan 04 10:07:31 2018 -0800 @@ -31,7 +31,7 @@ #include "color-picker.h" -// constuctor with initial color as parameter +// Constructor with initial color as parameter color_picker::color_picker (QColor old_color, QWidget *p) : QPushButton (p) { @@ -42,7 +42,7 @@ connect (this, SIGNAL (clicked (void)), SLOT (select_color (void))); } -// slot for bitton clicked: selct a new color using QColorDialog +// Slot for button clicked: select a new color using QColorDialog void color_picker::select_color (void) { @@ -55,7 +55,7 @@ } } -// draw the button with the actual color (using a stylesheet) +// Draw the button with the actual color (using a stylesheet) void color_picker::update_button (void) {