1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 22:19:54 +00:00
openmw-tes3mp/components/contentselector/model/loadordererror.cpp

16 lines
440 B
C++
Raw Normal View History

#include "loadordererror.hpp"
#include <cassert>
QString ContentSelectorModel::LoadOrderError::sErrorToolTips[ErrorCode_LoadOrder] =
{
2015-01-01 02:53:35 +00:00
QString("Unable to find dependent file: %1"),
QString("Dependent file needs to be active: %1"),
QString("This file needs to load after %1")
};
QString ContentSelectorModel::LoadOrderError::toolTip() const
{
assert(mErrorCode);
return sErrorToolTips[mErrorCode - 1].arg(mFileName);
}