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