MCPcopy Create free account
hub / github.com/LibreCAD/LibreCAD / activateWindowWithFile

Method activateWindowWithFile

librecad/src/main/qc_applicationwindow.cpp:3849–3864  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3847}
3848
3849void QC_ApplicationWindow::activateWindowWithFile(QString& fileName)
3850{
3851 if (!fileName.isEmpty()){
3852 foreach (QC_MDIWindow *w, window_list) {
3853 if (w != nullptr){}
3854 RS_Document *doc = w->getDocument();
3855 if (doc != nullptr){
3856 const QString &docFileName = doc->getFilename();
3857 if (fileName == docFileName){
3858 doActivate(w);
3859 break;
3860 }
3861 }
3862 }
3863 }
3864}
3865
3866void QC_ApplicationWindow::showBlockActivated(const RS_Block *block)
3867{

Callers 1

mainFunction · 0.80

Calls 1

isEmptyMethod · 0.80

Tested by

no test coverage detected