| 2106 | } |
| 2107 | |
| 2108 | void DiffTextWindowFrame::slotBrowseButtonClicked() |
| 2109 | { |
| 2110 | QString current = m_pFileSelection->text(); |
| 2111 | |
| 2112 | QUrl newURL = QFileDialog::getOpenFileUrl(this, i18n("Open File"), QUrl::fromUserInput(current, QString(), QUrl::AssumeLocalFile)); |
| 2113 | if(!newURL.isEmpty()) |
| 2114 | { |
| 2115 | Q_EMIT fileNameChanged(newURL.url(), m_pDiffTextWindow->getWindowIndex()); |
| 2116 | } |
| 2117 | } |
| 2118 | |
| 2119 | void DiffTextWindowFrame::slotEncodingChanged(const QByteArray& name) |
| 2120 | { |
nothing calls this directly
no test coverage detected