diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index 4ab37e629..41dc901e7 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -767,6 +767,8 @@ void MainWindow::createKeyboardShortcuts() connect(switchSearchShortcut, SIGNAL(activated()), this, SLOT(displaySearchTab())); QShortcut *switchRSSShortcut = new QShortcut(QKeySequence("Alt+3"), this); connect(switchRSSShortcut, SIGNAL(activated()), this, SLOT(displayRSSTab())); + QShortcut *switchExecutionLogShortcut = new QShortcut(QKeySequence(Qt::ALT + Qt::Key_4), this); + connect(switchExecutionLogShortcut, SIGNAL(activated()), this, SLOT(displayExecutionLogTab())); QShortcut *switchSearchFilterShortcut = new QShortcut(QKeySequence::Find, this); connect(switchSearchFilterShortcut, SIGNAL(activated()), this, SLOT(focusSearchFilter())); @@ -805,6 +807,12 @@ void MainWindow::displayRSSTab() const m_tabs->setCurrentWidget(m_rssWidget); } +void MainWindow::displayExecutionLogTab() const +{ + if (m_executionLog) + m_tabs->setCurrentWidget(m_executionLog); +} + // End of keyboard shortcuts slots void MainWindow::askRecursiveTorrentDownloadConfirmation(BitTorrent::TorrentHandle *const torrent) diff --git a/src/gui/mainwindow.h b/src/gui/mainwindow.h index c5aa633b2..84955911c 100644 --- a/src/gui/mainwindow.h +++ b/src/gui/mainwindow.h @@ -126,6 +126,7 @@ private slots: void displayTransferTab() const; void displaySearchTab() const; void displayRSSTab() const; + void displayExecutionLogTab() const; void focusSearchFilter(); void updateGUI(); void loadPreferences(bool configureSession = true);