summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/oauth.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CloudFile/src/oauth.cpp')
-rw-r--r--plugins/CloudFile/src/oauth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CloudFile/src/oauth.cpp b/plugins/CloudFile/src/oauth.cpp
index 0e0503f639..cad2bd8651 100644
--- a/plugins/CloudFile/src/oauth.cpp
+++ b/plugins/CloudFile/src/oauth.cpp
@@ -1,7 +1,7 @@
#include "stdafx.h"
COAuthDlg::COAuthDlg(CCloudService *service, const char *authUrl, pThreadFuncOwner requestAccessTokenThread)
- : CDlgBase(g_hInstance, IDD_OAUTH), m_service(service),
+ : CDlgBase(g_plugin.getInst(), IDD_OAUTH), m_service(service),
m_requestAccessTokenThread(requestAccessTokenThread),
m_authorize(this, IDC_OAUTH_AUTHORIZE, authUrl),
m_code(this, IDC_OAUTH_CODE), m_ok(this, IDOK)