mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-19 20:11:36 +00:00
Removed getUniversalid interface.
This commit is contained in:
parent
04287cb87a
commit
76b729ac9b
2 changed files with 1 additions and 11 deletions
|
@ -26,15 +26,6 @@ CSMWorld::TableMimeData::~TableMimeData()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
CSMWorld::UniversalId CSMWorld::TableMimeData::getId(unsigned int index) const
|
|
||||||
{
|
|
||||||
if (mUniversalId.empty())
|
|
||||||
{
|
|
||||||
throw("TableMimeData holds no UniversalId");
|
|
||||||
}
|
|
||||||
return mUniversalId[index];
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string CSMWorld::TableMimeData::getIcon() const
|
std::string CSMWorld::TableMimeData::getIcon() const
|
||||||
{
|
{
|
||||||
if (mUniversalId.empty())
|
if (mUniversalId.empty())
|
||||||
|
|
|
@ -21,7 +21,6 @@ namespace CSMWorld
|
||||||
TableMimeData(std::vector<UniversalId>& id);
|
TableMimeData(std::vector<UniversalId>& id);
|
||||||
~TableMimeData();
|
~TableMimeData();
|
||||||
virtual QStringList formats() const;
|
virtual QStringList formats() const;
|
||||||
UniversalId getId(unsigned int index) const;
|
|
||||||
std::string getIcon() const;
|
std::string getIcon() const;
|
||||||
std::vector<UniversalId> getData() const;
|
std::vector<UniversalId> getData() const;
|
||||||
|
|
||||||
|
@ -30,4 +29,4 @@ namespace CSMWorld
|
||||||
QStringList mObjectsFormats;
|
QStringList mObjectsFormats;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
#endif // TABLEMIMEDATA_H
|
#endif // TABLEMIMEDATA_H
|
Loading…
Reference in a new issue