forked from blue/squawk
some thoughts about fonts, lastInteraction and label into keyDelegate
This commit is contained in:
parent
2aed8a1209
commit
15fb4bbd62
15 changed files with 166 additions and 171 deletions
|
@ -54,8 +54,12 @@ void Omemo::generateMockData()
|
|||
}
|
||||
Shared::KeyInfo info;
|
||||
info.id = i;
|
||||
info.label = QString("test_") + std::to_string(i).c_str();
|
||||
if (i % 3 == 0)
|
||||
info.label = QString("test_") + std::to_string(i).c_str();
|
||||
info.fingerPrint = fp;
|
||||
if (i % 2 == 0)
|
||||
info.lastInteraction = QDateTime::currentDateTime();
|
||||
|
||||
keysModel.addKey(info);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue