Skip to content
Snippets Groups Projects
Verified Commit 5601c826 authored by Burak Hançerli's avatar Burak Hançerli :headphones:
Browse files

chore: fix coding style

parent bbd837c0
No related branches found
No related tags found
1 merge request!38QDS-11878 Reduce the numbers of user notification
Pipeline #67248 passed
...@@ -415,8 +415,8 @@ void Backend::runUserProject(const QString &projectName) ...@@ -415,8 +415,8 @@ void Backend::runUserProject(const QString &projectName)
const std::optional<QJsonArray> projectList = m_serviceConnector.fetchUserProjectList(userHash); const std::optional<QJsonArray> projectList = m_serviceConnector.fetchUserProjectList(userHash);
if (projectList == std::nullopt) { if (projectList == std::nullopt) {
qCritical("Could not fetch up-to-date project information. Please check your internet " qCritical() << "Could not fetch up-to-date project information. Please check your internet "
"connection and try again."); "connection and try again.";
emit popupClose(); emit popupClose();
return; return;
} }
......
...@@ -81,7 +81,7 @@ void ProjectManager::cleanupResources() ...@@ -81,7 +81,7 @@ void ProjectManager::cleanupResources()
<< " Size: " << m_projectData.size() << " bytes."; << " Size: " << m_projectData.size() << " bytes.";
data = reinterpret_cast<const uchar *>(m_projectData.data()); data = reinterpret_cast<const uchar *>(m_projectData.data());
if (!QResource::unregisterResource(data, m_projectPath)) { if (!QResource::unregisterResource(data, m_projectPath)) {
qCritical("Cannot unregister the previous resource data."); qCritical() << "Cannot unregister the previous resource data.";
} }
} }
} }
...@@ -124,7 +124,7 @@ QString ProjectManager::unpackProject(const QByteArray &project, bool extractZip ...@@ -124,7 +124,7 @@ QString ProjectManager::unpackProject(const QByteArray &project, bool extractZip
} }
if (!QResource::registerResource(data, resourcePath)) { if (!QResource::registerResource(data, resourcePath)) {
qCritical("Can not load the resource data."); qCritical() << "Can not load the resource data.";
return ""; return "";
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment