fix: Get rid of warnings on clang-cl (#6528)

This commit is contained in:
nerix
2025-10-25 16:14:20 +02:00
committed by GitHub
parent 6e443cd767
commit 7214c49e79
27 changed files with 124 additions and 105 deletions
@@ -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;
}
}
+1 -2
View File
@@ -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);