mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-29 00:30:12 +01:00
save
This commit is contained in:
parent
9a22839294
commit
0d1350ba7c
@ -659,6 +659,9 @@ void FormMain::createConnections() {
|
||||
connect(m_ui->m_actionSwitchMainMenu, &QAction::toggled, m_ui->m_menuBar, &QMenuBar::setVisible);
|
||||
connect(m_ui->m_actionSwitchMainWindow, &QAction::triggered, this, &FormMain::switchVisibility);
|
||||
connect(m_ui->m_actionSwitchStatusBar, &QAction::toggled, statusBar(), &StatusBar::setVisible);
|
||||
connect(m_ui->m_actionMessagePreviewEnabled, &QAction::toggled, this, [](bool enabled) {
|
||||
qApp->settings()->setValue(GROUP(Messages), Messages::EnableMessagePreview, enabled);
|
||||
});
|
||||
|
||||
// Menu "Tools" connections.
|
||||
connect(m_ui->m_actionSettings, &QAction::triggered, this, [this]() {
|
||||
@ -678,10 +681,6 @@ void FormMain::createConnections() {
|
||||
connect(m_ui->m_actionDonate, &QAction::triggered, this, &FormMain::donate);
|
||||
connect(m_ui->m_actionDisplayDocs, &QAction::triggered, this, &FormMain::showDocs);
|
||||
|
||||
connect(m_ui->m_actionMessagePreviewEnabled, &QAction::toggled, this, [](bool enabled) {
|
||||
qApp->settings()->setValue(GROUP(Messages), Messages::EnableMessagePreview, enabled);
|
||||
});
|
||||
|
||||
// Tab widget connections.
|
||||
connect(m_ui->m_actionTabsNext, &QAction::triggered, m_ui->m_tabWidget, &TabWidget::gotoNextTab);
|
||||
connect(m_ui->m_actionTabsPrevious, &QAction::triggered, m_ui->m_tabWidget, &TabWidget::gotoPreviousTab);
|
||||
|
Loading…
x
Reference in New Issue
Block a user