From 57269396975ab93855d9beb6ff6b4d7c0be00482 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Sat, 18 Jan 2014 13:35:42 +0100 Subject: [PATCH] InstrumentView: include QIcon header file Otherwise implicit conversion fails when calling setWindowIcon(). --- src/gui/InstrumentView.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/gui/InstrumentView.cpp b/src/gui/InstrumentView.cpp index e822529e4..20880206f 100644 --- a/src/gui/InstrumentView.cpp +++ b/src/gui/InstrumentView.cpp @@ -1,7 +1,7 @@ /* * InstrumentView.cpp - base-class for views of all Instruments * - * Copyright (c) 2008-2009 Tobias Doerffel + * Copyright (c) 2008-2014 Tobias Doerffel * * This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net * @@ -22,6 +22,8 @@ * */ +#include + #include "InstrumentView.h" #include "embed.h" #include "Instrument.h" @@ -56,10 +58,8 @@ void InstrumentView::setModel( Model * _model, bool ) if( dynamic_cast( _model ) != NULL ) { ModelView::setModel( _model ); - instrumentTrackWindow()->setWindowIcon( - model()->descriptor()->logo->pixmap() ); - connect( model(), SIGNAL( destroyed( QObject * ) ), - this, SLOT( close() ) ); + instrumentTrackWindow()->setWindowIcon( model()->descriptor()->logo->pixmap() ); + connect( model(), SIGNAL( destroyed( QObject * ) ), this, SLOT( close() ) ); } }