Просмотр исходного кода

chore: fix spelling mistake FirstTimeAddedToRejectedList

Signed-off-by: Michael Pollind <[email protected]>
Michael Pollind 3 лет назад
Родитель
Сommit
c87cc808c0

+ 2 - 2
Code/Tools/AssetProcessor/native/ui/MainWindow.cpp

@@ -256,7 +256,7 @@ void MainWindow::Activate()
     connect(ui->connectionTreeView, &QTreeView::customContextMenuRequested, this, &MainWindow::OnConnectionContextMenu);
 
     //allowed list connections
-    connect(m_guiApplicationManager->GetConnectionManager(), &ConnectionManager::FirstTimeAddedToRejctedList, this, &MainWindow::FirstTimeAddedToRejctedList);
+    connect(m_guiApplicationManager->GetConnectionManager(), &ConnectionManager::FirstTimeAddedToRejctedList, this, &MainWindow::FirstTimeAddedToRejectedList);
     connect(m_guiApplicationManager->GetConnectionManager(), &ConnectionManager::SyncAllowedListAndRejectedList, this, &MainWindow::SyncAllowedListAndRejectedList);
     connect(ui->allowListAllowedListConnectionsListView, &QListView::clicked, this, &MainWindow::OnAllowedListConnectionsListViewClicked);
     ui->allowListAllowedListConnectionsListView->setModel(&m_allowedListAddresses);
@@ -1234,7 +1234,7 @@ void MainWindow::SyncAllowedListAndRejectedList(QStringList allowedList, QString
     m_rejectedAddresses.setStringList(rejectedList);
 }
 
-void MainWindow::FirstTimeAddedToRejctedList(QString ipAddress)
+void MainWindow::FirstTimeAddedToRejectedList(QString ipAddress)
 {
     QMessageBox* msgBox = new QMessageBox(this);
     msgBox->setText(tr("!!!Rejected Connection!!!"));

+ 1 - 1
Code/Tools/AssetProcessor/native/ui/MainWindow.h

@@ -113,7 +113,7 @@ public Q_SLOTS:
     void ShowWindow();
 
     void SyncAllowedListAndRejectedList(QStringList allowedList, QStringList rejectedList);
-    void FirstTimeAddedToRejctedList(QString ipAddress);
+    void FirstTimeAddedToRejectedList(QString ipAddress);
     void SaveLogPanelState();
     void OnAssetProcessorStatusChanged(const AssetProcessor::AssetProcessorStatusEntry entry);