| 184 | } |
| 185 | |
| 186 | bool ApplicationList::checkAndAddApplication(const QString& appPath, const QString& name, const QString& parameters) |
| 187 | { |
| 188 | if (QFileInfo::exists(appPath) && QFileInfo(appPath).isExecutable()) { |
| 189 | Application app; |
| 190 | app.setName(name); |
| 191 | app.setPath("\"" + appPath + "\""); |
| 192 | app.setParameters(parameters); |
| 193 | addApplication(app); |
| 194 | return true; |
| 195 | } |
| 196 | return false; |
| 197 | } |
| 198 | |
| 199 | #ifdef _WIN32 |
| 200 | bool ApplicationList::findDefaultWindowsEditor() |
nothing calls this directly
no test coverage detected