mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-29 03:45:34 +00:00
Remove redundant inline
This commit is contained in:
parent
5dfb70e8a7
commit
0b852edc7f
1 changed files with 8 additions and 8 deletions
|
@ -45,19 +45,19 @@ namespace ContentSelectorModel
|
||||||
void setGameFiles(const QStringList& gameFiles);
|
void setGameFiles(const QStringList& gameFiles);
|
||||||
void setDescription(const QString& description);
|
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;
|
QVariant fileProperty(const FileProperty prop) const;
|
||||||
|
|
||||||
inline QString fileName() const { return mFileName; }
|
QString fileName() const { return mFileName; }
|
||||||
inline QString author() const { return mAuthor; }
|
QString author() const { return mAuthor; }
|
||||||
inline QDateTime modified() const { return mModified; }
|
QDateTime modified() const { return mModified; }
|
||||||
ESM::FormatVersion formatVersion() const { return mVersion; }
|
ESM::FormatVersion formatVersion() const { return mVersion; }
|
||||||
inline QString filePath() const { return mPath; }
|
QString filePath() const { return mPath; }
|
||||||
|
|
||||||
/// @note Contains file names, not paths.
|
/// @note Contains file names, not paths.
|
||||||
inline const QStringList& gameFiles() const { return mGameFiles; }
|
const QStringList& gameFiles() const { return mGameFiles; }
|
||||||
inline QString description() const { return mDescription; }
|
QString description() const { return mDescription; }
|
||||||
inline QString toolTip() const
|
QString toolTip() const
|
||||||
{
|
{
|
||||||
return sToolTip.arg(mAuthor)
|
return sToolTip.arg(mAuthor)
|
||||||
.arg(mVersion)
|
.arg(mVersion)
|
||||||
|
|
Loading…
Reference in a new issue