mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
committed by
GitHub
parent
ee00a80796
commit
2310dcd136
@@ -460,7 +460,6 @@ MainWindow::MainWindow(IGUIApplication *app, WindowState initialState)
|
||||
|
||||
MainWindow::~MainWindow()
|
||||
{
|
||||
app()->desktopIntegration()->setMenu(nullptr);
|
||||
delete m_ui;
|
||||
}
|
||||
|
||||
@@ -1570,7 +1569,7 @@ void MainWindow::downloadFromURLList(const QStringList &urlList)
|
||||
|
||||
QMenu *MainWindow::createDesktopIntegrationMenu()
|
||||
{
|
||||
auto *menu = new QMenu(this);
|
||||
auto *menu = new QMenu;
|
||||
|
||||
#ifndef Q_OS_MACOS
|
||||
connect(menu, &QMenu::aboutToShow, this, [this]()
|
||||
|
||||
Reference in New Issue
Block a user