mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Apply language with app restart if logged in.
Confirm and restart if logged in, just quickly apply if not.
This commit is contained in:
@@ -34,13 +34,12 @@ QString DefaultLanguageId();
|
||||
class Instance;
|
||||
Instance &Current();
|
||||
|
||||
class Instance : public base::enable_weak_from_this {
|
||||
class Instance {
|
||||
public:
|
||||
Instance() {
|
||||
fillDefaults();
|
||||
}
|
||||
void switchToId(const QString &id);
|
||||
void chooseCustomFile();
|
||||
void switchToCustomFile(const QString &filePath);
|
||||
|
||||
Instance(const Instance &other) = delete;
|
||||
|
Reference in New Issue
Block a user