IpcServer: Remove docOpen(), fileOpen(). MainWindow will do it

As it is no longer subject to sandboxing as a whole, it is not
restricted and thus, should call these functions itself
这个提交包含在:
2022-05-17 19:22:59 +02:00
父节点 830226ae59
当前提交 fe29641d0a
修改 2 个文件,包含 5 行新增74 行删除

查看文件

@@ -8,12 +8,7 @@ class IpcServer : public QObject
{
Q_OBJECT
private:
QSharedPointer<DatabaseFactory> dbFactory;
QSharedPointer<SqliteDbService> dbService;
QSharedPointer<FileSaver> fileSaver;
QLocalServer spawningServer;
bool docOpen(QString path, int pagenum);
bool fileOpen(QString path);
SaveFileResult addFile(QString file);
private slots:
void spawnerNewConnection();