| 35 | } |
| 36 | |
| 37 | void setPath(const QString& s) |
| 38 | { |
| 39 | if (s.isEmpty()) { |
| 40 | throw ShellLinkException("path cannot be empty"); |
| 41 | } |
| 42 | |
| 43 | const auto r = m_link->SetPath(s.toStdWString().c_str()); |
| 44 | throwOnFail(r, QString("failed to set target path '%1'").arg(s)); |
| 45 | } |
| 46 | |
| 47 | void setArguments(const QString& s) |
| 48 | { |
no test coverage detected