| 163 | } |
| 164 | |
| 165 | void NewInstanceDialog::setSuggestedIconFromFile(const QString &path, const QString &name) |
| 166 | { |
| 167 | importIcon = true; |
| 168 | importIconPath = path; |
| 169 | importIconName = name; |
| 170 | |
| 171 | //Hmm, for some reason they can be to small |
| 172 | ui->iconButton->setIcon(QIcon(path)); |
| 173 | } |
| 174 | |
| 175 | void NewInstanceDialog::setSuggestedIcon(const QString &key) |
| 176 | { |
no test coverage detected