MCPcopy Create free account
hub / github.com/Tencent/libpag / showSimpleError

Method showSimpleError

exporter/src/ui/WindowManager.cpp:105–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105bool WindowManager::showSimpleError(const QString& errorMessage) {
106 if (errorMessage.isEmpty()) {
107 return false;
108 }
109 init();
110 auto alertWindow = AlertWindow(app.get());
111 return alertWindow.showErrors({}, errorMessage);
112}
113
114bool WindowManager::showPAGViewerInstallDialog(const std::string& pagFilePath) {
115 PAGViewerInstallModel installModel;

Callers 2

GetProjectFileBytesFunction · 0.80
StartPreviewFunction · 0.80

Calls 4

AlertWindowClass · 0.85
isEmptyMethod · 0.45
getMethod · 0.45
showErrorsMethod · 0.45

Tested by

no test coverage detected