Commit 366d3827 authored by Oliver Bock's avatar Oliver Bock

Partially reverting e3720bcc (QShortcut still emits activated())

parent 48335462
...@@ -311,19 +311,19 @@ void PulsatingScience::on_actionMenu_bar_toggled(bool checked) ...@@ -311,19 +311,19 @@ void PulsatingScience::on_actionMenu_bar_toggled(bool checked)
// activate alternate shortcuts // activate alternate shortcuts
m_runShortcut->setEnabled(true); m_runShortcut->setEnabled(true);
connect(m_runShortcut, SIGNAL(triggered()), ui.pulsarGlWidget, SLOT(runAnimation())); connect(m_runShortcut, SIGNAL(activated()), ui.pulsarGlWidget, SLOT(runAnimation()));
m_pauseShortcut->setEnabled(true); m_pauseShortcut->setEnabled(true);
connect(m_pauseShortcut, SIGNAL(triggered()), ui.pulsarGlWidget, SLOT(pauseAnimation())); connect(m_pauseShortcut, SIGNAL(activated()), ui.pulsarGlWidget, SLOT(pauseAnimation()));
m_stopShortcut->setEnabled(true); m_stopShortcut->setEnabled(true);
connect(m_stopShortcut, SIGNAL(triggered()), ui.pulsarGlWidget, SLOT(stopAnimation())); connect(m_stopShortcut, SIGNAL(activated()), ui.pulsarGlWidget, SLOT(stopAnimation()));
m_permanentOrbitsShortcut->setEnabled(true); m_permanentOrbitsShortcut->setEnabled(true);
connect(m_permanentOrbitsShortcut, SIGNAL(triggered()), this, SLOT(permanentOrbitsToggled())); connect(m_permanentOrbitsShortcut, SIGNAL(activated()), this, SLOT(permanentOrbitsToggled()));
m_rotationAxesShortcut->setEnabled(true); m_rotationAxesShortcut->setEnabled(true);
connect(m_rotationAxesShortcut, SIGNAL(triggered()), this, SLOT(rotationAxesToggled())); connect(m_rotationAxesShortcut, SIGNAL(activated()), this, SLOT(rotationAxesToggled()));
m_fullscreenShortcut->setEnabled(true); m_fullscreenShortcut->setEnabled(true);
connect(m_fullscreenShortcut, SIGNAL(triggered()), this, SLOT(fullscreenToggled())); connect(m_fullscreenShortcut, SIGNAL(activated()), this, SLOT(fullscreenToggled()));
m_menuBarShortcut->setEnabled(true); m_menuBarShortcut->setEnabled(true);
connect(m_menuBarShortcut, SIGNAL(triggered()), this, SLOT(menuBarToggled())); connect(m_menuBarShortcut, SIGNAL(activated()), this, SLOT(menuBarToggled()));
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment