remove some stuff from Platform

This commit is contained in:
Arisotura
2024-05-27 00:41:13 +02:00
parent 5fb8836440
commit 41e9715f7f
9 changed files with 29 additions and 62 deletions

View File

@ -204,21 +204,6 @@ void SignalStop(StopReason reason)
}
int InstanceID()
{
return IPCInstanceID;
}
std::string InstanceFileSuffix()
{
int inst = IPCInstanceID;
if (inst == 0) return "";
char suffix[16] = {0};
snprintf(suffix, 15, ".%d", inst+1);
return suffix;
}
static QIODevice::OpenMode GetQMode(FileMode mode)
{
QIODevice::OpenMode qmode = QIODevice::OpenModeFlag::NotOpen;