| 101 | } |
| 102 | |
| 103 | void GM_Settings::itemChanged(QListWidgetItem* item) |
| 104 | { |
| 105 | GM_Script* script = getScript(item); |
| 106 | if (!script) { |
| 107 | return; |
| 108 | } |
| 109 | |
| 110 | if (item->checkState() == Qt::Checked) { |
| 111 | m_manager->enableScript(script); |
| 112 | } |
| 113 | else { |
| 114 | m_manager->disableScript(script); |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | void GM_Settings::openScriptsDirectory() |
| 119 | { |
nothing calls this directly
no test coverage detected