Passthrough gtk integration setting to lib_base (#155)
This commit is contained in:
parent
a4d7d818ab
commit
0038f20d16
2 changed files with 5 additions and 0 deletions
|
|
@ -35,4 +35,8 @@ void BaseIntegration::logAssertionViolation(const QString &info) {
|
||||||
CrashReports::SetAnnotation("Assertion", info);
|
CrashReports::SetAnnotation("Assertion", info);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool BaseIntegration::gtkIntegrationEnabled() const {
|
||||||
|
return cGtkIntegration();
|
||||||
|
}
|
||||||
|
|
||||||
} // namespace Core
|
} // namespace Core
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@ public:
|
||||||
void enterFromEventLoop(FnMut<void()> &&method) override;
|
void enterFromEventLoop(FnMut<void()> &&method) override;
|
||||||
void logMessage(const QString &message) override;
|
void logMessage(const QString &message) override;
|
||||||
void logAssertionViolation(const QString &info) override;
|
void logAssertionViolation(const QString &info) override;
|
||||||
|
[[nodiscard]] bool gtkIntegrationEnabled() const override;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue