mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-18 04:51:33 -07:00
changed creation_time to time_t to get around Qt4.7 dependency
This commit is contained in:
parent
609e3fc41d
commit
7c2c6eac14
3 changed files with 4 additions and 4 deletions
|
|
@ -207,7 +207,7 @@ void RemoteDeckList_TreeModel::addFileToTree(const ServerInfo_DeckStorage_TreeIt
|
|||
{
|
||||
const ServerInfo_DeckStorage_File &fileInfo = file.file();
|
||||
QDateTime time;
|
||||
time.setMSecsSinceEpoch(fileInfo.creation_time());
|
||||
time.setTime_t(fileInfo.creation_time());
|
||||
|
||||
beginInsertRows(nodeToIndex(parent), parent->size(), parent->size());
|
||||
parent->append(new FileNode(QString::fromStdString(file.name()), file.id(), time, parent));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue