bobo1993324 / qmlTrojita

trojita port to qml that can run on ubuntu phone
Other
1 stars 1 forks source link

Changed cache directory due to click package confinements #35

Closed nikwen closed 10 years ago

nikwen commented 10 years ago

As discussed here: https://plus.google.com/103255629963793469067/posts/FUai6JMLQyW

nikwen commented 10 years ago

@jktjkt Thanks. :) So this should be considered as a quick fix. As the original developer of Trojita you probably know better what to do.

bobo1993324 commented 10 years ago

No, I am not the original developer of Trojita

nikwen commented 10 years ago

@bobo1993324 I meant @jktjkt with that. :wink:

bobo1993324 commented 10 years ago

HaHa, That's embarrassing.

bobo1993324 commented 10 years ago

Try it on multiple accounts. For each account, a model will be created. All models will use the same cache directory ".cache". It will conflict. That is why I add m_settings->value(SettingsNames::imapUserKey).toString() to ".cache" as the directoryCache,

Yes, there are all kinds of quick fixes in my code.

nikwen commented 10 years ago

Ok, I'll fix it. Wait a moment. ;)

bobo1993324 commented 10 years ago

@jktjkt I will look into src/Imap/Model/ImapAccess.cpp, thanks.

nikwen commented 10 years ago

Ok, it's still a quick fix but it supports multiple accounts now. ;)

bobo1993324 commented 10 years ago

Great, let's first make working code.

nikwen commented 10 years ago

Thanks. :+1: :smile: