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();
|
std::weak_ptr<History> weakThis = shared_from_this();
|
||||||
FileDbInsertionData insertionData;
|
FileDbInsertionData insertionData;
|
||||||
insertionData.friendPk = friendPk;
|
|
||||||
insertionData.fileId = fileId;
|
insertionData.fileId = fileId;
|
||||||
insertionData.fileName = fileName;
|
insertionData.fileName = fileName;
|
||||||
insertionData.filePath = filePath;
|
insertionData.filePath = filePath;
|
||||||
|
|
|
@ -116,7 +116,6 @@ struct FileDbInsertionData
|
||||||
FileDbInsertionData();
|
FileDbInsertionData();
|
||||||
|
|
||||||
RowId historyId;
|
RowId historyId;
|
||||||
ToxPk friendPk;
|
|
||||||
QString fileId;
|
QString fileId;
|
||||||
QString fileName;
|
QString fileName;
|
||||||
QString filePath;
|
QString filePath;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user