Revise inline keyword usage

And let compiler decide whether to inline functions.
This commit is contained in:
Chocobo1
2019-07-14 17:26:56 +08:00
parent f6f8aaf3db
commit 7a5e883cd2
3 changed files with 7 additions and 5 deletions

View File

@@ -83,9 +83,6 @@ private:
static Profile *m_instance;
};
inline QString specialFolderLocation(SpecialFolder folder)
{
return Profile::instance().location(folder);
}
QString specialFolderLocation(SpecialFolder folder);
#endif // QBT_PROFILE_H