summaryrefslogtreecommitdiff
path: root/src/gui/windows/editdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-11-05 13:48:19 +0300
committerAndrei Karas <akaras@inbox.ru>2013-11-05 13:48:19 +0300
commit0ca79840f3497375591a43b38d520ada03dfb2dd (patch)
tree011c02abc751d78c74c06e8cf50a2251712156be /src/gui/windows/editdialog.cpp
parent9f7b1073ad4e1cc8f17e83fb13b85e4a20d5320e (diff)
downloadplus-0ca79840f3497375591a43b38d520ada03dfb2dd.tar.gz
plus-0ca79840f3497375591a43b38d520ada03dfb2dd.tar.bz2
plus-0ca79840f3497375591a43b38d520ada03dfb2dd.tar.xz
plus-0ca79840f3497375591a43b38d520ada03dfb2dd.zip
fix compilation warnings.
Diffstat (limited to 'src/gui/windows/editdialog.cpp')
-rw-r--r--src/gui/windows/editdialog.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/windows/editdialog.cpp b/src/gui/windows/editdialog.cpp
index 97ebc23ca..05f55ad67 100644
--- a/src/gui/windows/editdialog.cpp
+++ b/src/gui/windows/editdialog.cpp
@@ -47,8 +47,6 @@ void EditDialog::postInit()
// TRANSLATORS: edit dialog label
Button *const okButton = new Button(this, _("OK"), mEventOk, this);
- const int numRows = 1;
- const int fontHeight = getFont()->getHeight();
const int pad = getPadding();
const int pad2 = pad * 2;
mTextField->setPosition(pad, pad);