| 977 | } |
| 978 | |
| 979 | void MainWindow::slotOpenFile(const QString& szFile, bool bOpenSettings) |
| 980 | { |
| 981 | if(szFile.isEmpty()) return; |
| 982 | COperate* p = m_Manager.LoadOperate(szFile); |
| 983 | if(nullptr == p) |
| 984 | { |
| 985 | slotStatusMessage(tr("Load file fail: ") + szFile, MessageLevel::Error); |
| 986 | return; |
| 987 | } |
| 988 | |
| 989 | Start(p, bOpenSettings, szFile); |
| 990 | } |
| 991 | |
| 992 | void MainWindow::on_actionOpenRRCFile_triggered() |
| 993 | { |
nothing calls this directly
no test coverage detected