| 450 | } |
| 451 | |
| 452 | void MainWindow::setCurrentFile(const QString &fileName) |
| 453 | { |
| 454 | curFile = QFileInfo(fileName).canonicalFilePath(); |
| 455 | isUntitled = fileName.isEmpty(); |
| 456 | setWindowModified(false); |
| 457 | if (fileName.isEmpty()) |
| 458 | setWindowFilePath("QHexEdit"); |
| 459 | else |
| 460 | setWindowFilePath(curFile + " - QHexEdit"); |
| 461 | } |
| 462 | |
| 463 | QString MainWindow::strippedName(const QString &fullFileName) |
| 464 | { |
nothing calls this directly
no outgoing calls
no test coverage detected