fix hardlink pushVariant

This commit is contained in:
Syping 2019-10-01 06:07:06 +02:00
parent 97ed09b3f9
commit 2c53b502d8

View file

@ -21,6 +21,7 @@
#include <QProcess>
#include <QObject>
#include <QString>
#include <QDebug>
#include <QFile>
#ifdef Q_OS_WIN
#include "windows.h"
@ -99,7 +100,7 @@ int LuaEngineOS::linkFile(lua_State *L_p)
linkSucceeded = link(getVariant(L_p, 1).toString().toUtf8().data(), getVariant(L_p, 2).toString().toUtf8().data());
#endif
}
getVariant(L_p, linkSucceeded);
pushVariant(L_p, linkSucceeded);
return 1;
}
getVariant(L_p, false);