summaryrefslogtreecommitdiff
path: root/src/instancemanagerdialog.cpp
Commit message (Collapse)AuthorAgeFilesLines
* - renamed instance::name() to displayName() to reduce confusion with ↵isanae2021-02-121-8/+8
| | | | | | | portable instances - better errors when running incorrect shortcuts - fixed shortcuts being created with moshortcut://Portable:exe instead of an empty instance name for portable instances
* removed setUpdateDelay(false) calls, it's the defaultisanae2020-12-261-1/+0
| | | | FilterWidget for downloads tab
* fixed instanceIcon() so it works when game plugins fail auto detection but ↵isanae2020-12-221-8/+46
| | | | | | the instance has a custom path had to change PluginContainer to non const in a few places
* fixed a bunch of instance and command line stuffisanae2020-11-121-1/+5
| | | | | | | | | - clear instance manager overrides when restarting, or switching instances after starting MO with moshortcut://instance: won't do anything - clear overrides when the last selected instance can't be opened; MO would keep trying to open shortcuts even after selecting a different instance - command line was cleared too early, before the first run, so shortcuts were broken - the instance manager dialog can be opened without an instance loaded if the last selected instance doesn't exist, createNew() would throw because it tried to access the global Settings - fixed some problems with parts of MO wanting to restart and others expecting flow to continue - fixed create instance dialog using settings pointer to decide whether to restart; it restarts when it's the first created instance, which is not always the case even if the settings are null, so just check whether there are instances
* uncheck directories changed by the user by default to match the old ↵isanae2020-11-101-1/+7
| | | | behaviour of deleting an instance
* show a confirmation before switching instancesisanae2020-11-071-2/+40
|
* larger initial size for the instance dialogisanae2020-11-071-1/+27
| | | | save geometry if settings are available
* moved getInstanceName() upisanae2020-11-071-75/+97
| | | | | | removed individual getters in CreateInstanceDialog, they were duplicating the work in creationInfo() only VariantsPage needs access to the game plugin during creationInfo(), so pass it instead selecting an undetected game, choosing a valid path and going back to the games page would not display the selected path in the list
* added ... to the "Delete Instance" button to make it less scaryisanae2020-11-071-306/+41
| | | | | | | merged InstanceInfo into Instance, most of it was redundant added logging before deleting instance added Instance::readFromIni(), contains stuff that used to be in setup(), used by instance dialog replaced QDir with QString in a few places, I hate QDir
* removed some redundant functions in InstanceManager, made them all non-staticisanae2020-11-071-3/+3
| | | | documentation
* renamed InstanceManager::instance() to singleton() to avoid confusionisanae2020-11-061-10/+10
|
* added IPlugin::registered()isanae2020-11-041-1/+5
| | | | | | | | removed useless dummy interfaces because init() isn't called anymore python plugins currently broken because init() isn't called on them fixed create instance dialog being shown on startup even if portable instance existed display a message when the last instance can't be found fixed instance manager dialog failing to open the portable instance
* replaced #pragma once by ifdefsisanae2020-11-031-9/+0
| | | | | | | changed pointer to ref to NexusInterface on_actionChange_Game_triggered() now creates the dialog itself instead of calling test code fixed broken command line options, they'd be reset before they were used removed useless explicit
* larged delete instance dialogisanae2020-11-031-0/+1
|
* InstanceManager now returns new Instance struct instead of instance nameisanae2020-11-031-19/+31
| | | | | moved most of the figuring out of instance parameters from InstanceManager to Instance, separated all the ui from it and put it in main.cpp added ways to show single pages in the create instance dialog so they can be used when info is missing
* game icons in the instance listisanae2020-11-031-1/+18
|
* moved nexus api stuff to GlobalSettingsisanae2020-11-031-1/+1
| | | | | | | pass a pointer to Settings around for things that can be called without settings, when creating the first instance added dummy plugin list, mod list and iorganizer to initialize plugins without an instance moved PluginContainer into the core filter, had nothing to do with the plugins list NexusInterface is now created manually instead of being a static singleton because it needs to know if the settings are available
* moved naturalCompare() to uibaseisanae2020-11-031-11/+27
| | | | | don't try to delete paths that don't exist natsort for instance names and games
* open ini buttonisanae2020-11-031-18/+68
| | | | | update when renaming instance update and select when creating instance
* added checkboxes for deleting instancesisanae2020-11-031-85/+93
| | | | disabled instance conversion buttons again, not implemented
* - changed PathSettings::base() to use the ini's parent directory instead of ↵isanae2020-11-031-138/+317
| | | | | | | | | the global "dataPath" property; this is always the same thing, unless another Settings object is created for a different instance than the active one, which happens in the instance manager dialog - instance manager dialog: - select the active instance when opening - instance deletion now handles custom paths from the ini - started on instance conversions, not functional
* delete instanceisanae2020-11-031-22/+246
|
* renamed cancel to closeisanae2020-11-031-22/+80
| | | | add portable instance to the list, handle some of the buttons
* filter, explore buttons, instance renameisanae2020-11-031-7/+147
|
* moved switch to instance to InstanceManagerisanae2020-11-031-3/+24
| | | | double-click an instance to switch to it (disabled for now, not sure I want that)
* fixed settings doing weird stuff with multiple instancesisanae2020-11-031-0/+6
| | | | | sort games by name added intro and confirmation pages
* game pageisanae2020-11-031-1/+1
|
* started create instance dialogisanae2020-11-031-6/+96
| | | | | allow for multiple instances of Settings fill in information in instance manager
* added empty instance manager dialogisanae2020-11-031-0/+36