You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw-tes3mp/components/contentselector/model/loadordererror.cpp

16 lines
441 B
C++

#include "loadordererror.hpp"
#include <assert.h>
QString ContentSelectorModel::LoadOrderError::sErrorToolTips[ErrorCode_LoadOrder] =
{
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);
}