summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-29 10:32:13 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-29 10:32:13 -0700
commit9edee3477a1fa3945717512e591f30af9c3ca468 (patch)
tree0e4e5ed408f7497cec791a50facfcd1cba0a18c9 /qt-ui
parentdd41360dcdf9a4b4b15594a764ec8190e3db709a (diff)
downloadsubsurface-9edee3477a1fa3945717512e591f30af9c3ca468.tar.gz
Remove unused variable
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/kmessagewidget.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/qt-ui/kmessagewidget.cpp b/qt-ui/kmessagewidget.cpp
index 9a7b734a2..017fa1085 100644
--- a/qt-ui/kmessagewidget.cpp
+++ b/qt-ui/kmessagewidget.cpp
@@ -104,7 +104,6 @@ void KMessageWidgetPrivate::createLayout()
//buttonLayout->addButton(closeButton, QDialogButtonBox::RejectRole);
layout->addWidget(buttonLayout, 1, 0, 1, 2, Qt::AlignHCenter | Qt::AlignTop);
} else {
- bool closeButtonVisible = closeButton->isVisible();
QHBoxLayout *layout = new QHBoxLayout(content);
layout->addWidget(iconLabel);
layout->addWidget(textLabel);