Fix warnings that occured on linux using clang
This commit is contained in:
@@ -24,7 +24,7 @@ AccountsPage::AccountsPage()
|
||||
this->removeButton = buttons->addButton("Remove", QDialogButtonBox::NoRole);
|
||||
}
|
||||
|
||||
auto accountSwitch = layout.emplace<AccountSwitchWidget>(this).assign(&this->accSwitchWidget);
|
||||
layout.emplace<AccountSwitchWidget>(this).assign(&this->accSwitchWidget);
|
||||
|
||||
// ----
|
||||
QObject::connect(this->addButton, &QPushButton::clicked, []() {
|
||||
|
||||
@@ -45,10 +45,13 @@ IgnoreUsersPage::IgnoreUsersPage()
|
||||
{
|
||||
auto add = addremove.emplace<QPushButton>("Ignore user");
|
||||
auto remove = addremove.emplace<QPushButton>("Unignore User");
|
||||
UNUSED(add); // TODO: Add on-clicked event
|
||||
UNUSED(remove); // TODO: Add on-clicked event
|
||||
addremove->addStretch(1);
|
||||
}
|
||||
|
||||
auto userList = group.emplace<QListView>();
|
||||
UNUSED(userList); // TODO: Fill this list in with ignored users
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user