mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 09:05:14 +00:00
Get rid of gtk open with dialog
Portal open with dialog works just fine and is a more universal solution... That allows to get rid of an additional process.
This commit is contained in:
@@ -15,16 +15,8 @@ public:
|
||||
enum class Type {
|
||||
Base,
|
||||
Webview,
|
||||
TDesktop,
|
||||
};
|
||||
|
||||
static GtkIntegration *Instance();
|
||||
|
||||
void load(const QString &allowedBackends);
|
||||
int exec(const QString &parentDBusName);
|
||||
|
||||
[[nodiscard]] bool showOpenWithDialog(const QString &filepath) const;
|
||||
|
||||
static QString AllowedBackends();
|
||||
|
||||
static int Exec(
|
||||
@@ -35,13 +27,6 @@ public:
|
||||
static void Start(Type type);
|
||||
|
||||
static void Autorestart(Type type);
|
||||
|
||||
private:
|
||||
GtkIntegration();
|
||||
~GtkIntegration();
|
||||
|
||||
class Private;
|
||||
const std::unique_ptr<Private> _private;
|
||||
};
|
||||
|
||||
} // namespace internal
|
||||
|
Reference in New Issue
Block a user