Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[qmlmail] - Update accounts signals to match new api. #5

Merged
merged 1 commit into from Apr 5, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/qml/EmailHeader.qml
Expand Up @@ -50,7 +50,7 @@ Column {

Connections {
target: mailAccountListModel
onAccountAdded: {
onAccountsAdded: {
emailAccountList = accountsModel.getAllEmailAddresses();
if (window.currentMailAccountIndex == -1)
{
Expand Down
4 changes: 2 additions & 2 deletions src/qml/main.qml
Expand Up @@ -91,14 +91,14 @@ PageStackWindow {
EmailAccountListModel {
id: mailAccountListModel

onAccountAdded: {
onAccountsAdded: {
var accountList = new Array();
accountList = mailAccountListModel.getAllDisplayNames();
accountList.push(qsTr("Account switcher"));
window.accountFilterModel = accountList;
}

onAccountRemoved: {
onAccountsRemoved: {
var accountList = new Array();
accountList = mailAccountListModel.getAllDisplayNames();
accountList.push(qsTr("Account switcher"));
Expand Down