2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Retranslate Settings when language is changed.

Also suggest user to change language from 'en' to his for one time.
This commit is contained in:
John Preston
2017-04-18 20:37:14 +03:00
parent f5dfeb0c50
commit 3f0b57ec11
17 changed files with 183 additions and 59 deletions

View File

@@ -26,12 +26,14 @@ namespace Settings {
class InnerWidget;
class Widget : public Layer {
class Widget : public Layer, private base::Subscriber {
Q_OBJECT
public:
Widget(QWidget*);
void refreshLang();
void showFinished() override;
void parentResized() override;