-
Notifications
You must be signed in to change notification settings - Fork 22
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
Sprites #85
Sprites #85
Conversation
Models/RepeatedStringModel.cpp
Outdated
emit endResetModel(); | ||
} | ||
|
||
void RepeatedStringModel::SwapBack(int left, int part, int right) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can probably inherit this, among other methods here, from a base class, using CRTP if necessary.
}) | ||
} | ||
}; | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh my god did clang do this?
Models/ProtoModel.cpp
Outdated
for (int j = 0; j < refl->FieldSize(*protobuf, field); j++) { | ||
subModels.strings[field->number()].append(QString::fromStdString(refl->GetRepeatedString(*protobuf, field, j))); | ||
} | ||
if (field->name() == "subimages") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good news: we have a file_type extension for this, now. Anyway, like I said on Discord, ignore any of this, but please add TODOs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, good cleanup.
No description provided.