Skip to content

Commit

Permalink
remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Sep 15, 2014
1 parent f583a9e commit ff788db
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/gui/qgsmessagelogviewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ static QIcon icon( QString icon )
QgsMessageLogViewer::QgsMessageLogViewer( QStatusBar *statusBar, QWidget *parent, Qt::WindowFlags fl )
: QDialog( parent, fl )
, mButton( 0 )
, mCount( 0 )
, mShowToolTips( true )
{
setupUi( this );
Expand Down Expand Up @@ -112,8 +111,6 @@ void QgsMessageLogViewer::buttonDestroyed()
void QgsMessageLogViewer::logMessage( QString message, QString tag, QgsMessageLog::MessageLevel level )
{
#ifdef ANDROID
mCount++;
#else
mButton->setToolTip( tr( "Message(s) logged." ) );
#endif

Expand Down
1 change: 0 additions & 1 deletion src/gui/qgsmessagelogviewer.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ class GUI_EXPORT QgsMessageLogViewer: public QDialog, private Ui::QgsMessageLogV

private:
QToolButton *mButton;
int mCount;
bool mShowToolTips;

private slots:
Expand Down

0 comments on commit ff788db

Please sign in to comment.