mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-12 15:57:57 +00:00
Merge pull request #6056 from okeatime/resume_pause
Make resume/pause menu items clickable. Closes #6040
This commit is contained in:
commit
d330ae2421
@ -174,12 +174,6 @@ MainWindow::MainWindow(QWidget *parent)
|
|||||||
m_ui->menuAutoShutdownOnDownloadsCompletion->setIcon(GuiIconProvider::instance()->getIcon("application-exit"));
|
m_ui->menuAutoShutdownOnDownloadsCompletion->setIcon(GuiIconProvider::instance()->getIcon("application-exit"));
|
||||||
m_ui->actionManageCookies->setIcon(GuiIconProvider::instance()->getIcon("preferences-web-browser-cookies"));
|
m_ui->actionManageCookies->setIcon(GuiIconProvider::instance()->getIcon("preferences-web-browser-cookies"));
|
||||||
|
|
||||||
QMenu *startAllMenu = new QMenu(this);
|
|
||||||
startAllMenu->addAction(m_ui->actionStartAll);
|
|
||||||
m_ui->actionStart->setMenu(startAllMenu);
|
|
||||||
QMenu *pauseAllMenu = new QMenu(this);
|
|
||||||
pauseAllMenu->addAction(m_ui->actionPauseAll);
|
|
||||||
m_ui->actionPause->setMenu(pauseAllMenu);
|
|
||||||
QMenu *lockMenu = new QMenu(this);
|
QMenu *lockMenu = new QMenu(this);
|
||||||
QAction *defineUiLockPasswdAct = lockMenu->addAction(tr("&Set Password"));
|
QAction *defineUiLockPasswdAct = lockMenu->addAction(tr("&Set Password"));
|
||||||
connect(defineUiLockPasswdAct, SIGNAL(triggered()), this, SLOT(defineUILockPassword()));
|
connect(defineUiLockPasswdAct, SIGNAL(triggered()), this, SLOT(defineUILockPassword()));
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>914</width>
|
<width>914</width>
|
||||||
<height>21</height>
|
<height>22</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QMenu" name="menuEdit">
|
<widget class="QMenu" name="menuEdit">
|
||||||
@ -44,6 +44,8 @@
|
|||||||
</property>
|
</property>
|
||||||
<addaction name="actionStart"/>
|
<addaction name="actionStart"/>
|
||||||
<addaction name="actionPause"/>
|
<addaction name="actionPause"/>
|
||||||
|
<addaction name="actionStartAll"/>
|
||||||
|
<addaction name="actionPauseAll"/>
|
||||||
<addaction name="separator"/>
|
<addaction name="separator"/>
|
||||||
<addaction name="actionDelete"/>
|
<addaction name="actionDelete"/>
|
||||||
<addaction name="actionTopPriority"/>
|
<addaction name="actionTopPriority"/>
|
||||||
@ -191,6 +193,16 @@
|
|||||||
<string>&Pause</string>
|
<string>&Pause</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
|
<action name="actionStartAll">
|
||||||
|
<property name="text">
|
||||||
|
<string>R&esume All</string>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
|
<action name="actionPauseAll">
|
||||||
|
<property name="text">
|
||||||
|
<string>P&ause All</string>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
<action name="actionDelete">
|
<action name="actionDelete">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>&Delete</string>
|
<string>&Delete</string>
|
||||||
@ -334,16 +346,6 @@
|
|||||||
<string>If you like qBittorrent, please donate!</string>
|
<string>If you like qBittorrent, please donate!</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionStartAll">
|
|
||||||
<property name="text">
|
|
||||||
<string>R&esume All</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="actionPauseAll">
|
|
||||||
<property name="text">
|
|
||||||
<string>P&ause All</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="actionAutoExit">
|
<action name="actionAutoExit">
|
||||||
<property name="checkable">
|
<property name="checkable">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
|
Loading…
Reference in New Issue
Block a user