mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
refactor(history): Remove unused friendPk from FileDbInsertionData
This commit is contained in:
parent
fd2997c2db
commit
9145dc1cae
|
@ -942,7 +942,6 @@ void History::addNewFileMessage(const ToxPk& friendPk, const QString& fileId,
|
|||
|
||||
std::weak_ptr<History> weakThis = shared_from_this();
|
||||
FileDbInsertionData insertionData;
|
||||
insertionData.friendPk = friendPk;
|
||||
insertionData.fileId = fileId;
|
||||
insertionData.fileName = fileName;
|
||||
insertionData.filePath = filePath;
|
||||
|
|
|
@ -116,7 +116,6 @@ struct FileDbInsertionData
|
|||
FileDbInsertionData();
|
||||
|
||||
RowId historyId;
|
||||
ToxPk friendPk;
|
||||
QString fileId;
|
||||
QString fileName;
|
||||
QString filePath;
|
||||
|
|
Loading…
Reference in New Issue
Block a user