mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(build): Elimination the build warnings (Wunused-variable, Wreorder)
This commit is contained in:
parent
83d4a21ef6
commit
2cd65610fc
|
@ -29,8 +29,8 @@
|
|||
*/
|
||||
|
||||
ToxCall::ToxCall(uint32_t CallId, bool VideoEnabled, CoreAV& av)
|
||||
: videoEnabled{VideoEnabled}
|
||||
, av{&av}
|
||||
: av{&av}
|
||||
, videoEnabled{VideoEnabled}
|
||||
{
|
||||
Audio& audio = Audio::getInstance();
|
||||
audio.subscribeInput();
|
||||
|
|
|
@ -759,7 +759,6 @@ void ChatForm::handleLoadedMessages(QList<History::HistMessage> newHistMsgs, boo
|
|||
ToxPk prevIdBackup = previousId;
|
||||
previousId = ToxPk{};
|
||||
QList<ChatLine::Ptr> chatLines;
|
||||
Core* core = Core::getInstance();
|
||||
QDate lastDate(1, 0, 0);
|
||||
for (const auto& histMessage : newHistMsgs) {
|
||||
MessageMetadata const metadata = getMessageMetadata(histMessage);
|
||||
|
|
|
@ -117,8 +117,8 @@ private:
|
|||
const ToxPk authorPk;
|
||||
const QDateTime msgDateTime;
|
||||
MessageMetadata(bool isSelf, bool needSending, bool isAction, qint64 id, ToxPk authorPk, QDateTime msgDateTime) :
|
||||
needSending{needSending},
|
||||
isSelf{isSelf},
|
||||
needSending{needSending},
|
||||
isAction{isAction},
|
||||
id{id},
|
||||
authorPk{authorPk},
|
||||
|
|
Loading…
Reference in New Issue
Block a user