fix: Get rid of warnings on clang-cl (#6528)
This commit is contained in:
@@ -2,8 +2,6 @@
|
||||
|
||||
#include "widgets/settingspages/SettingsPage.hpp"
|
||||
|
||||
#include <QPushButton>
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
class AccountSwitchWidget;
|
||||
@@ -12,11 +10,6 @@ class AccountsPage : public SettingsPage
|
||||
{
|
||||
public:
|
||||
AccountsPage();
|
||||
|
||||
private:
|
||||
QPushButton *addButton_{};
|
||||
QPushButton *removeButton_{};
|
||||
AccountSwitchWidget *accountSwitchWidget_{};
|
||||
};
|
||||
|
||||
} // namespace chatterino
|
||||
|
||||
@@ -389,6 +389,9 @@ void HighlightingPage::tableCellClicked(const QModelIndex &clicked,
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case HighlightTab::Blacklist:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -371,8 +371,7 @@ SettingWidget *SettingWidget::dropdown(
|
||||
widget->managedConnections);
|
||||
|
||||
QObject::connect(combo, &QComboBox::currentTextChanged,
|
||||
[label, combo, &setting](const auto &newText) {
|
||||
bool ok = true;
|
||||
[label, combo, &setting](const auto & /*newText*/) {
|
||||
auto stringValue = combo->currentData().toString();
|
||||
|
||||
setting.setValue(stringValue);
|
||||
|
||||
Reference in New Issue
Block a user