typo TopBotton to TopBottom in split view signals

Corrects the spelling of signal name from requestSplitViewTopBotton to
requestSplitViewTopBottom in ViewManager and SessionController.
This commit is contained in:
Wang Yu
2025-06-05 21:45:14 +08:00
parent 151d8f8ec1
commit 4090703cf3
3 changed files with 3 additions and 3 deletions

View File

@@ -845,7 +845,7 @@ SessionController *ViewManager::createController(Session *session, TerminalDispl
connect(view, &Konsole::TerminalDisplay::destroyed, controller, &Konsole::SessionController::deleteLater);
connect(controller, &Konsole::SessionController::viewDragAndDropped, this, &Konsole::ViewManager::forgetController);
connect(controller, &Konsole::SessionController::requestSplitViewLeftRight, this, &Konsole::ViewManager::splitLeftRight);
connect(controller, &Konsole::SessionController::requestSplitViewTopBotton, this, &Konsole::ViewManager::splitTopBottom);
connect(controller, &Konsole::SessionController::requestSplitViewTopBottom, this, &Konsole::ViewManager::splitTopBottom);
// if this is the first controller created then set it as the active controller
if (_pluggedController.isNull()) {

View File

@@ -680,7 +680,7 @@ void SessionController::setupCommonActions()
action = collection->addAction(QStringLiteral("split-view-top-bottom"));
action->setIcon(QIcon::fromTheme(QStringLiteral("view-split-top-bottom")));
action->setText(i18n("Split View Top-Bottom"));
connect(action, &QAction::triggered, this, &SessionController::requestSplitViewTopBotton);
connect(action, &QAction::triggered, this, &SessionController::requestSplitViewTopBottom);
action = collection->addAction(QStringLiteral("edit_copy_contextmenu_in_out"));
action->setText(i18n("Copy except prompts"));

View File

@@ -181,7 +181,7 @@ Q_SIGNALS:
*/
void requestSplitViewLeftRight();
void requestSplitViewTopBotton();
void requestSplitViewTopBottom();
/**
* Emitted when the current working directory of the session associated with