mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Don't leak "orphan" actions at exit
The original reason to orphan these actions is likely obsolete now. Extract MainWindowViewer::addActionWithShortcut() to reduce code duplication.
This commit is contained in:
@ -159,6 +159,7 @@ private:
|
||||
//! Método que inicializa el interfaz.
|
||||
void setupUI();
|
||||
void createActions();
|
||||
QAction *addActionWithShortcut(const QString &text, const QString &shortcutKey);
|
||||
void createToolBars();
|
||||
void refreshRecentFilesActionList();
|
||||
void clearRecentFiles();
|
||||
|
Reference in New Issue
Block a user