Skip to content
Permalink
Browse files

add destructor

  • Loading branch information
3nids authored and NathanW2 committed Aug 15, 2013
1 parent 45aa1da commit 3fdeb03d70884adb29d9ccbf1a33e2933d20ed56
Showing with 6 additions and 0 deletions.
  1. +4 −0 src/gui/qgsmessagebaritem.cpp
  2. +2 −0 src/gui/qgsmessagebaritem.h
@@ -80,6 +80,10 @@ QgsMessageBarItem::QgsMessageBarItem( QWidget *widget, QgsMessageBar::MessageLev
writeContent();
}

QgsMessageBarItem::~QgsMessageBarItem()
{
}

void QgsMessageBarItem::writeContent()
{
if ( mLayout == 0 )
@@ -42,6 +42,8 @@ class QgsMessageBarItem : public QWidget
//! make out a widget containing a widget to be displayed on the bar
QgsMessageBarItem( QWidget *widget, QgsMessageBar::MessageLevel level = QgsMessageBar::INFO, int duration = 0, QWidget *parent = 0 );

~QgsMessageBarItem();

QgsMessageBarItem *setText( QString text );

QgsMessageBarItem *setTitle( QString title );

0 comments on commit 3fdeb03

Please sign in to comment.
You can’t perform that action at this time.