aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/MainWindow.cpp
AgeCommit message (Collapse)Author
2022-12-14Improve handling of destructive actionsTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-12-14move cat to bottom rightDioEgizio
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-12-11fix: remove leftover TODODioEgizio
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-12-08Merge pull request #568 from leo78913/flatpak-shortcutsflow
2022-12-08fix: fix creating instance shortcuts in flatpakleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2022-12-07fix: add instance shortcut creation action to menubarDioEgizio
also moves deleteinstance to the same place as the instance toolbar Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
2022-12-03fix: warn before trashing instancesRyan Cao
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
2022-12-01fix: explicitly set scheme for local file in -I argumentflow
Otherwise isLocalFile() will return false for local files without the file:// thingy. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-11-27Merge remote-tracking branch 'upstream/develop' into ↵Sefa Eyeoglu
import-resource-pack-dialog-uwu
2022-11-27fix: improve code readabilitySefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-11-25Merge pull request #227 from Leo40Git/feature/instance-shortcutsSefa Eyeoglu
Closes https://github.com/PrismLauncher/PrismLauncher/issues/210
2022-11-21refactor: remove old updaterSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-11-20refactor: move RP/TP validation to their respective utilsflow
This makes it easier to validate individual resources, and allows the logic to be used in other places in the future, if we need to. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-11-20fix: stray includeRyan Cao
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
2022-11-20fix: add support for CLI and drag and dropRyan Cao
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
2022-11-18Merge pull request #455 from leo78913/menubar-stuffDioEgizio
2022-11-17fix: Fix usage belowRedson
Signed-off-by: Redson <redson@riseup.net>
2022-11-17chore: Change var nameRedsonBr140
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net> Signed-off-by: RedsonBr140 <redson@riseup.net>
2022-11-16chore: Var definition inside the for loopRedsonBr140
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: RedsonBr140 <redson@riseup.net>
2022-11-15fix: Fix some stuff in the menu barleo78913
- Remove duplicated launch actions - Enable the add instance action icon in menus - Remove ugly separator at the end of the help menu if the updater is disabled - Add icons to the help and news menu items Signed-off-by: leo78913 <leo3758@riseup.net>
2022-11-15feat: Make the changes persistent.Redson
Signed-off-by: Redson <redson@riseup.net>
2022-11-15fix: Check the box when the theme is changed via settingsRedson
Signed-off-by: Redson <redson@riseup.net>
2022-11-15fix: Check the current theme box on startup.Redson
Signed-off-by: Redson <redson@riseup.net>
2022-11-15fix: Build on QT6Redson
Signed-off-by: Redson <redson@riseup.net>
2022-11-15Merge remote-tracking branch 'upstream/develop' into feature/instance-shortcutsADudeCalledLeo
2022-11-14feat: Add themes and their logic.leo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2022-11-14Merge branch 'PrismLauncher:develop' into menu-themesRedsonBr140
2022-11-14feat: Add empty menuRedson
Signed-off-by: Redson <redson@riseup.net>
2022-11-14Add iconADudeCalledLeo
NOTE: Currently missing on Legacy, Flat and Flat (White) Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-14refactor: improve readabilitySefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-11-14Merge branch 'develop' into macos-add-to-pathRyan Cao
2022-11-14slight reword: "install to PATH"Ryan Cao
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
2022-11-13Windows, Linux: prevent segfault on missing iconADudeCalledLeo
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-13Linux: fixesADudeCalledLeo
- Fix shortcut icons - Possibly fix shortcut creation on AppImages - Fix shortcut not working if path to launcher contains spaces Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-13tabs -> spacesADudeCalledLeo
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-13Mac: attempt 2ADudeCalledLeo
- create .command files instead of .sh - fix shortcuts not working if path to Prism Launcher contains spaces - fix path to executable in shortcutss - add check for running from extracted folder (prevents creating shortcuts) Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-12Mac: fix buildADudeCalledLeo
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-12Windows: remove icon if shortcut creation failsADudeCalledLeo
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-12refactor #if checksADudeCalledLeo
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-12Mac: now supported! [UNTESTED]ADudeCalledLeo
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-12Move addAction call above left-align loopADudeCalledLeo
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-12this ain't static, falcoADudeCalledLeo
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-12Apply suggestions from code reviewADudeCalledLeo
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net> Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-12Fix nested #if directiveADudeCalledLeo
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-12Windows: fix window icon being replacedADudeCalledLeo
Dunno why it happens but the fix was literally 2 lines, so whatever I guess Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-12Windows: add instance icon to shortcutADudeCalledLeo
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-12Remove unnessecary "is defined" checkADudeCalledLeo
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-12[UNTESTED] Linux: add icons to shortcutsADudeCalledLeo
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-12Windows: implement FS::createShortcutADudeCalledLeo
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-12Add 'Create shortcut' button to instance toolbarADudeCalledLeo
Implemented on Windows only rn! Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>