From cc433448b71025256bdd44a569c353d98e0935f1 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Tue, 8 Apr 2014 18:49:09 +0300 Subject: [PATCH] Style and comment fixes --- source/list.cpp | 2 +- source/panel.h | 2 +- source/widget.h | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/source/list.cpp b/source/list.cpp index 1b26a3f..83af932 100644 --- a/source/list.cpp +++ b/source/list.cpp @@ -118,7 +118,7 @@ void List::items_changed() List::Item *List::create_item(unsigned index) { - Item *item = 0; + Item *item = 0; if(item_factory) item = item_factory->create_item(index); else diff --git a/source/panel.h b/source/panel.h index 165cc6a..e0eed01 100644 --- a/source/panel.h +++ b/source/panel.h @@ -23,7 +23,7 @@ public: protected: WidgetMap &wdg_map; Widget *last_widget; - + public: Loader(Panel &, WidgetMap &); private: diff --git a/source/widget.h b/source/widget.h index 9caae9f..4550648 100644 --- a/source/widget.h +++ b/source/widget.h @@ -17,8 +17,7 @@ class Resources; class Style; /** -Base class for all widgets. Derived classes should call update_style in -constructor, because it can't be done correctly in the Widget constructor. +Base class for all widgets. */ class Widget { -- 2.43.0