Closed pvint closed 3 months ago
When restarting or shutting down KDE media-downloader is cancelling the process. It does close, but it is necessary to initiate the logout again to proceed.
In mainwindow.cpp line 222 void QEvent::ignore() is called:
void MainWindow::closeEvent( QCloseEvent * e ) { e->ignore() ; this->hide() ; if( !m_showTrayIcon ){ this->quitApp() ; } }
Changing the e->ignore() to e->accept() seems to fix the problem without affecting anything, but perhaps I'm not understanding why ignore was used.
e->ignore()
e->accept()
Thanks, i have experience this behavior but never looked into it, i have reworked the code and the problem should now be gone.
Perfect! Tested and it functions as expected. Thanks!
When restarting or shutting down KDE media-downloader is cancelling the process. It does close, but it is necessary to initiate the logout again to proceed.
In mainwindow.cpp line 222 void QEvent::ignore() is called:
Changing the
e->ignore()
toe->accept()
seems to fix the problem without affecting anything, but perhaps I'm not understanding why ignore was used.