| 1 |
namespace phoenix { |
| 2 |
|
| 3 |
void pSeparator::constructor() { |
| 4 |
qtAction = new QAction(0); |
| 5 |
qtAction->setSeparator(true); |
| 6 |
} |
| 7 |
|
| 8 |
void pSeparator::destructor() { |
| 9 |
if(action.state.menu) action.state.menu->remove(separator); |
| 10 |
delete qtAction; |
| 11 |
qtAction = nullptr; |
| 12 |
} |
| 13 |
|
| 14 |
} |