From 7cd4adc908abf8c5e3b391c4a88f0514ba8468c4 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 5 Oct 2014 15:59:23 -0500 Subject: Add proper refcounting option to TDEMainWindow This relates to the discussion at: http://lists.kde.org/?l=kde-core-devel&m=107208785431497&w=2 Clean up a few minor code formatting issues --- tdeui/kguiitem.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tdeui/kguiitem.cpp') diff --git a/tdeui/kguiitem.cpp b/tdeui/kguiitem.cpp index dd30e1fe8..9d623bb39 100644 --- a/tdeui/kguiitem.cpp +++ b/tdeui/kguiitem.cpp @@ -155,7 +155,7 @@ TQIconSet KGuiItem::iconSet( TDEIcon::Group group, int size, TDEInstance* instan { if( !d->m_iconName.isEmpty()) { -// some caching here would(?) come handy + // some caching here would(?) come handy return instance->iconLoader()->loadIconSet( d->m_iconName, group, size, true, false ); } else @@ -164,7 +164,9 @@ TQIconSet KGuiItem::iconSet( TDEIcon::Group group, int size, TDEInstance* instan } } else + { return TQIconSet(); + } } TQString KGuiItem::iconName() const -- cgit v1.2.1