1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 21:23:52 +00:00

added instance tooltips

This commit is contained in:
Marc Zinnschlag 2015-11-12 15:09:43 +01:00
parent 01f4b8a182
commit 8b01f1f6fb
2 changed files with 7 additions and 0 deletions

View file

@ -42,6 +42,11 @@ CSVRender::ObjectTag::ObjectTag (Object* object)
: TagBase (Element_Reference), mObject (object) : TagBase (Element_Reference), mObject (object)
{} {}
QString CSVRender::ObjectTag::getToolTip (bool hideBasics) const
{
return QString::fromUtf8 (mObject->getReferenceableId().c_str());
}
void CSVRender::Object::clear() void CSVRender::Object::clear()
{ {

View file

@ -46,6 +46,8 @@ namespace CSVRender
ObjectTag (Object* object); ObjectTag (Object* object);
Object* mObject; Object* mObject;
virtual QString getToolTip (bool hideBasics) const;
}; };