summaryrefslogtreecommitdiff
path: root/protocols/CloudFile/src/oauth.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/CloudFile/src/oauth.h')
-rw-r--r--protocols/CloudFile/src/oauth.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/CloudFile/src/oauth.h b/protocols/CloudFile/src/oauth.h
index 2b32ecbd9b..24f755fc79 100644
--- a/protocols/CloudFile/src/oauth.h
+++ b/protocols/CloudFile/src/oauth.h
@@ -6,15 +6,15 @@ class COAuthDlg : public CDlgBase
CCloudService *m_service;
CCloudService::MyThreadFunc m_requestAccessTokenThread;
+ CCtrlButton m_ok;
CCtrlHyperlink m_authorize;
CCtrlEdit m_code;
- CCtrlButton m_ok;
protected:
bool OnInitDialog() override;
+ bool OnApply() override;
void Code_OnChange(CCtrlBase*);
- void Ok_OnClick(CCtrlButton*);
public:
COAuthDlg(CCloudService *service, const char *authUrl, CCloudService::MyThreadFunc requestAccessTokenThread);