1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 06:59:55 +00:00

Remove redundant inline

This commit is contained in:
elsid 2023-03-20 23:03:39 +01:00
parent 5dfb70e8a7
commit 0b852edc7f
No known key found for this signature in database
GPG key ID: 4DE04C198CBA7625

View file

@ -45,19 +45,19 @@ namespace ContentSelectorModel
void setGameFiles(const QStringList& gameFiles);
void setDescription(const QString& description);
inline void addGameFile(const QString& name) { mGameFiles.append(name); }
void addGameFile(const QString& name) { mGameFiles.append(name); }
QVariant fileProperty(const FileProperty prop) const;
inline QString fileName() const { return mFileName; }
inline QString author() const { return mAuthor; }
inline QDateTime modified() const { return mModified; }
QString fileName() const { return mFileName; }
QString author() const { return mAuthor; }
QDateTime modified() const { return mModified; }
ESM::FormatVersion formatVersion() const { return mVersion; }
inline QString filePath() const { return mPath; }
QString filePath() const { return mPath; }
/// @note Contains file names, not paths.
inline const QStringList& gameFiles() const { return mGameFiles; }
inline QString description() const { return mDescription; }
inline QString toolTip() const
const QStringList& gameFiles() const { return mGameFiles; }
QString description() const { return mDescription; }
QString toolTip() const
{
return sToolTip.arg(mAuthor)
.arg(mVersion)