Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gui/platforms.h: renamed Platform to PlatformData / Platform: removed unnecessary cppcheck namespace #5545

Merged
merged 1 commit into from
Oct 13, 2023

Conversation

firewave
Copy link
Collaborator

No description provided.

@@ -243,7 +243,7 @@ MainWindow::MainWindow(TranslationHandler* th, QSettings* settings) :
mUI->mActionEditProjectFile->setEnabled(mProjectFile != nullptr);

for (int i = 0; i < mPlatforms.getCount(); i++) {
Platform platform = mPlatforms.mPlatforms[i];
PlatformData platform = mPlatforms.mPlatforms[i];
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not your code but platform should probably be a reference. the assignment at line 249 looks strange.

@danmar danmar merged commit ebb877a into danmar:main Oct 13, 2023
74 checks passed
@firewave firewave deleted the platforms branch October 16, 2023 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants