MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / slotOpenFile

Method slotOpenFile

App/Client/mainwindow.cpp:979–990  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

977}
978
979void 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
992void MainWindow::on_actionOpenRRCFile_triggered()
993{

Callers

nothing calls this directly

Calls 2

LoadOperateMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected