summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/ui/layerlisttooltip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/kiviopart/ui/layerlisttooltip.cpp')
-rw-r--r--kivio/kiviopart/ui/layerlisttooltip.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kivio/kiviopart/ui/layerlisttooltip.cpp b/kivio/kiviopart/ui/layerlisttooltip.cpp
index ed32c284..4a2d1fb5 100644
--- a/kivio/kiviopart/ui/layerlisttooltip.cpp
+++ b/kivio/kiviopart/ui/layerlisttooltip.cpp
@@ -49,13 +49,13 @@ void LayerListToolTip::maybeTip(const TQPoint& pos)
return;
}
- TQRect tqitemRect = m_listView->tqitemRect(item);
+ TQRect itemRect = m_listView->itemRect(item);
TQString toolTip = "<b>" + item->layer()->name() + "</b><br>";
toolTip += i18n("Visible: ") + (item->layer()->visible() ? i18n("Yes") : i18n("No")) + "<br>";
toolTip += i18n("Printable: ") + (item->layer()->printable() ? i18n("Yes") : i18n("No")) + "<br>";
toolTip += i18n("Editable: ") + (item->layer()->editable() ? i18n("Yes") : i18n("No")) + "<br>";
toolTip += i18n("Connectable: ") + (item->layer()->connectable() ? i18n("Yes") : i18n("No"));
- tip(tqitemRect, toolTip);
+ tip(itemRect, toolTip);
}
}