void openFileDir(QString qsFilePath)
{
QString path, cmd;
#ifdef _WIN32
path = qsFilePath.replace("/", "\\");
cmd = QString("explorer.exe /select,%1").arg(path);
#else
path = qsName.replace("\\", "/");
cmd = QString("open -R %1").arg(path);
#endif
QProcess process;
process.startDetached(cmd);
}