mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +08:00
Fix cppcheck warnings and cleanup suppression config
- redundantAssignment - knownConditionTrueFalse
This commit is contained in:
committed by
Klaus Basan
parent
000bdee457
commit
3774f2b60f
@@ -74,8 +74,7 @@ namespace BlackGui
|
||||
|
||||
void CSettingsComponent::initActions()
|
||||
{
|
||||
QAction *a = nullptr;
|
||||
a = new QAction(this);
|
||||
QAction *a = new QAction(this);
|
||||
a->setObjectName("overview");
|
||||
a->setShortcut(QKeySequence(Qt::ALT + Qt::Key_S, Qt::Key_O));
|
||||
connect(a, &QAction::triggered, this, &CSettingsComponent::onActionTriggered);
|
||||
|
||||
Reference in New Issue
Block a user