diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-09-26 04:04:09 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-09-26 04:04:09 +0200 |
commit | cca670013463f0062cec950d9b9bb76f9150ed93 (patch) | |
tree | f3a80479a0184f5f25af6c0ca42714cc7ba4e9c5 /logic/liteloader | |
parent | 0af04dc060cfe94f25d1d3691c8bb87cbab1ecc5 (diff) | |
download | MultiMC-cca670013463f0062cec950d9b9bb76f9150ed93.tar MultiMC-cca670013463f0062cec950d9b9bb76f9150ed93.tar.gz MultiMC-cca670013463f0062cec950d9b9bb76f9150ed93.tar.lz MultiMC-cca670013463f0062cec950d9b9bb76f9150ed93.tar.xz MultiMC-cca670013463f0062cec950d9b9bb76f9150ed93.zip |
NOISSUE fix all clang warnings
Diffstat (limited to 'logic/liteloader')
-rw-r--r-- | logic/liteloader/LiteLoaderVersionList.cpp | 2 | ||||
-rw-r--r-- | logic/liteloader/LiteLoaderVersionList.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/logic/liteloader/LiteLoaderVersionList.cpp b/logic/liteloader/LiteLoaderVersionList.cpp index 21bb4f50..c1b43cb8 100644 --- a/logic/liteloader/LiteLoaderVersionList.cpp +++ b/logic/liteloader/LiteLoaderVersionList.cpp @@ -61,7 +61,7 @@ static bool cmpVersions(BaseVersionPtr first, BaseVersionPtr second) return left->timestamp > right->timestamp; } -void LiteLoaderVersionList::sort() +void LiteLoaderVersionList::sortVersions() { beginResetModel(); std::sort(m_vlist.begin(), m_vlist.end(), cmpVersions); diff --git a/logic/liteloader/LiteLoaderVersionList.h b/logic/liteloader/LiteLoaderVersionList.h index e25f2c64..43bb270d 100644 --- a/logic/liteloader/LiteLoaderVersionList.h +++ b/logic/liteloader/LiteLoaderVersionList.h @@ -79,7 +79,7 @@ public: virtual bool isLoaded(); virtual const BaseVersionPtr at(int i) const; virtual int count() const; - virtual void sort(); + virtual void sortVersions(); virtual QVariant data ( const QModelIndex & index, int role = Qt::DisplayRole ) const; virtual QList< ModelRoles > providesRoles(); |