gui: Open files/previews directly without IPC again

Since the main GUI process is not sandboxed again
Этот коммит содержится в:
2022-05-28 22:02:54 +02:00
родитель 2591a4ccba
Коммит 4aa6d43674
2 изменённых файлов: 26 добавлений и 14 удалений

Просмотреть файл

@@ -53,8 +53,8 @@ class MainWindow : public QMainWindow
LooqsQuery contentSearchQuery;
int previewsPerPage;
void createSearchResutlMenu(QMenu &menu, const QFileInfo &fileInfo);
void ipcDocOpen(QString path, int num);
void ipcFileOpen(QString path);
void openDocument(QString path, int num);
void openFile(QString path);
unsigned int currentPreviewGeneration = 1;
private slots:
void lineEditReturnPressed();