[PATCH] Remove duplicate tool-tip setting

Anton Lundin glance at acc.umu.se
Mon Dec 29 15:31:32 PST 2014


We set the real tool-tips with setBtnToolTip from maintab.cpp, so this
is just duplicate and miss-leading.

Signed-off-by: Anton Lundin <glance at acc.umu.se>
---
 qt-ui/tableview.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/qt-ui/tableview.cpp b/qt-ui/tableview.cpp
index 1dbfd89..a07a70d 100644
--- a/qt-ui/tableview.cpp
+++ b/qt-ui/tableview.cpp
@@ -52,7 +52,6 @@ TableView::TableView(QWidget *parent) : QGroupBox(parent)
 	QIcon plusIcon(":plus");
 	plusBtn = new QPushButton(plusIcon, QString(), this);
 	plusBtn->setFlat(true);
-	plusBtn->setToolTip(tr("Add cylinder"));
 
 	/* now determine the icon and button size. Since the button will be
 	 * placed in the label, make sure that we do not overflow, as it might
-- 
2.1.0



More information about the subsurface mailing list