Le cartelle standard del motore sono INBOX e Sent (0.3.4)
This commit is contained in:
1 parent
01a622f168
commit
639bb9880d
3 files changed
+9
-5
No files matched your search
@@ -214,10 +214,11 @@ QVariantList EngineBridge::folders()
|
||||
const Entry &e = all.at(k);
|
||||
|
||||
// Il tipo serve solo a scegliere l'icona: il motore non lo dice.
|
||||
// Le cartelle standard si chiamano INBOX, Sent, Junk, Trash.
|
||||
QString tipo = "cartella";
|
||||
if (e.depth == 0) tipo = "account";
|
||||
else if (e.nome == QLatin1String("In")) tipo = "in";
|
||||
else if (e.nome == QLatin1String("Out")) tipo = "out";
|
||||
else if (e.nome == QLatin1String("INBOX") || e.nome == QLatin1String("In")) tipo = "in";
|
||||
else if (e.nome == QLatin1String("Sent") || e.nome == QLatin1String("Out")) tipo = "out";
|
||||
else if (e.nome == QLatin1String("Junk")) tipo = "junk";
|
||||
else if (e.nome == QLatin1String("Trash")) tipo = "trash";
|
||||
|
||||
|
||||
+2
-2
@@ -21,9 +21,9 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
|
||||
|
||||
app->setOrganizationName(QStringLiteral("harbour"));
|
||||
app->setApplicationName(QStringLiteral("grumpydove"));
|
||||
app->setApplicationVersion(QStringLiteral("0.3.3"));
|
||||
app->setApplicationVersion(QStringLiteral("0.3.4"));
|
||||
|
||||
qDebug() << "harbour-grumpydove v0.3.3 build" << __DATE__ << __TIME__;
|
||||
qDebug() << "harbour-grumpydove v0.3.4 build" << __DATE__ << __TIME__;
|
||||
|
||||
QTranslator translator;
|
||||
if (translator.load(QLocale(), QStringLiteral("harbour-grumpydove"),
|
||||
|
||||
Reference in new issue
Block a user