Age | Commit message (Collapse) | Author |
|
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
This makes it so that we don't need a reference to the parent page in
the model. It will be useful once we change the page from a widget-based
one to a QML page.
It also makes tasks be created in the dialog instead of the page, so
that the dialog can also have the necessary information to mark versions
as selected / deselected easily. It also makes the task pointers into
smart pointers.
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
No need for multiple files since the subclasses are so small now
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
Puts them all inside the 'ResourceDownload' namespace, so that it's a
bit clearer from the outside that those belong to the same 'module'.
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
Firstly, this abstract away behavior in the mod download models that can
also be applied to other types of resources into a superclass, allowing
other resource types to be implemented without so much code duplication.
For that, this also generalizes the APIs used (currently, ModrinthAPI
and FlameAPI) to be able to make requests to other types of resources.
It also does a general cleanup of both of those. In particular, this
makes use of std::optional instead of invalid values for errors and,
well, optional values :p
This is a squash of some commits that were becoming too interlaced
together to be cleanly separated.
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
Signed-off-by: Joshua Goins <josh@redstrate.com>
|
|
|
|
Signed-off-by: leo78913 <leo3758@riseup.net>
|
|
closes https://github.com/PrismLauncher/PrismLauncher/issues/494
|
|
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
|
|
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
|
|
Signed-off-by: leo78913 <leo3758@riseup.net>
|
|
also refactor IconList::deleteIcon
Signed-off-by: leo78913 <leo3758@riseup.net>
|
|
pressing this button in the icon picker dialog when a default icon is selected does nothing so why not disable it
Signed-off-by: leo78913 <leo3758@riseup.net>
|
|
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
|
|
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
|
|
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
|
|
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
|
|
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
|
|
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
|
|
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
|
|
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
|
|
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
into import-resource-pack-dialog-uwu
|
|
Closes https://github.com/PrismLauncher/PrismLauncher/issues/46
Closes https://github.com/PrismLauncher/PrismLauncher/issues/204
|
|
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
|
|
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
|
|
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
|
|
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
|
|
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
|
|
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
|
|
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
|
|
move explanation text into dialog class and it's own label
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
|
|
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
|
|
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
|
|
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
|
|
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
|
|
Fixes https://github.com/PrismLauncher/PrismLauncher/issues/222
|
|
fix https://github.com/PrismLauncher/PrismLauncher/issues/363
|
|
Fixes https://github.com/PrismLauncher/PrismLauncher/issues/226
|
|
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
|
|
|
|
General utilities can go in here >:)
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
|
|
This would cause ODR violations when those headers were included in
other places that also included stuff like "Version.h" (note the
"meta/Version.h"), which can cause problems, especially in LTO.
Signed-off-by: flow <flowlnlnln@gmail.com>
|
|
Replaces txtsd's GitHub link with their website
Moves DioEgizio and flowln from contributors to dev team
Signed-off-by: txtsd <code@ihavea.quest>
|
|
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
|
|
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
|
|
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
|