From 5f898e4677618a611d135ed9cca223bc53e7ce32 Mon Sep 17 00:00:00 2001 From: Patrick von Reth Date: Thu, 10 Jul 2014 18:08:04 +0200 Subject: [PATCH] Fixed missing return It seems I have a serious problem with returns... --- src/tomahawk/TomahawkWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tomahawk/TomahawkWindow.cpp b/src/tomahawk/TomahawkWindow.cpp index b1218a476..3ed5f231a 100644 --- a/src/tomahawk/TomahawkWindow.cpp +++ b/src/tomahawk/TomahawkWindow.cpp @@ -626,6 +626,7 @@ TomahawkWindow::thumbIcon( TomahawkUtils::ImageType type ) QPixmap pix ( TomahawkUtils::defaultPixmap(type , TomahawkUtils::Original, QSize( 20, 20 ) ) ); thumbIcons[type] = pix.toWinHICON(); } + return thumbIcons[type]; } #else