aboutsummaryrefslogtreecommitdiff
path: root/accounts_model.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'accounts_model.cpp')
-rw-r--r--accounts_model.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts_model.cpp b/accounts_model.cpp
index d7d4683..f701245 100644
--- a/accounts_model.cpp
+++ b/accounts_model.cpp
@@ -113,7 +113,7 @@ AccountsModel::getSelectedAccount()
{
dc_context_t *context = dc_accounts_get_selected_account(m_accounts);
- return new Context(context);
+ return new Context(this, context);
}
void