Shallow search and lazy loading for Other Logs page

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad 2025-04-18 19:52:30 +01:00
parent a39edb3b59
commit d5db974008
No known key found for this signature in database
GPG key ID: 5E39D70B4C93C38E
7 changed files with 78 additions and 54 deletions

View file

@ -35,6 +35,7 @@
*/
#pragma once
#include <qglobal.h>
#include "BaseInstance.h"
#include "launch/LaunchTask.h"
@ -57,8 +58,7 @@ class NullInstance : public BaseInstance {
QProcessEnvironment createEnvironment() override { return QProcessEnvironment(); }
QProcessEnvironment createLaunchEnvironment() override { return QProcessEnvironment(); }
QMap<QString, QString> getVariables() override { return QMap<QString, QString>(); }
IPathMatcher::Ptr getLogFileMatcher() override { return nullptr; }
QString getLogFileRoot() override { return instanceRoot(); }
QStringList getLogFileSearchPaths() override { return {}; }
QString typeName() const override { return "Null"; }
bool canExport() const override { return false; }
bool canEdit() const override { return false; }