made file function inline static
This commit is contained in:
@@ -84,7 +84,14 @@ public:
|
||||
*/
|
||||
static bool RenameFileAllowOverwrite(const QString& from, const QString& to);
|
||||
|
||||
static QString GetFormattedExecutableForPlatform(QString unformatted);
|
||||
inline static QString GetFormattedExecutableForPlatform(QString unformatted)
|
||||
{
|
||||
#ifdef Q_OS_WINDOWS
|
||||
unformatted.append(QStringLiteral(".exe"));
|
||||
#endif
|
||||
|
||||
return unformatted;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user