diff options
| author | me_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac> | 2013-09-01 12:34:15 +0000 |
|---|---|---|
| committer | me_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac> | 2013-09-01 12:34:15 +0000 |
| commit | fe7749bee62380dac4d5dea00b2f5b20db344cbb (patch) | |
| tree | e46ee11712b0444eee5874328567c050f6498d0b /pica-client/msguirouter.cpp | |
| parent | d970ad6a4ac7e077390d8fdac0a4fc576b24dc5c (diff) | |
| download | pica-pica-fe7749bee62380dac4d5dea00b2f5b20db344cbb.tar.gz pica-pica-fe7749bee62380dac4d5dea00b2f5b20db344cbb.zip | |
global variable account_id is replaced with static members Accounts::AccountRecord & Accounts::GetCurrentAccount() and SetCurrentAccount()
git-svn-id: svn://localhost/project_picapica/trunk@268 fb96df88-216d-11de-830c-f3023f12d8ac
Diffstat (limited to 'pica-client/msguirouter.cpp')
| -rw-r--r-- | pica-client/msguirouter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pica-client/msguirouter.cpp b/pica-client/msguirouter.cpp index d4a62c4..b19bc55 100644 --- a/pica-client/msguirouter.cpp +++ b/pica-client/msguirouter.cpp @@ -89,7 +89,7 @@ void MsgUIRouter::delivered(QByteArray to) } else { - History h(config_dbname, QByteArray((const char*)account_id, PICA_ID_SIZE)); + History h(config_dbname, Accounts::GetCurrentAccount().id); h.SetDelivered(to); } |
