Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add destructor
  • Loading branch information
3nids authored and NathanW2 committed Aug 15, 2013
1 parent 45aa1da commit 3fdeb03
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gui/qgsmessagebaritem.cpp
Expand Up @@ -80,6 +80,10 @@ QgsMessageBarItem::QgsMessageBarItem( QWidget *widget, QgsMessageBar::MessageLev
writeContent();
}

QgsMessageBarItem::~QgsMessageBarItem()
{
}

void QgsMessageBarItem::writeContent()
{
if ( mLayout == 0 )
Expand Down
2 changes: 2 additions & 0 deletions src/gui/qgsmessagebaritem.h
Expand Up @@ -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 );
Expand Down

0 comments on commit 3fdeb03

Please sign in to comment.