mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
refactor!!!: migrate from shared pointers
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
c64d871a28
commit
549405ab2f
199 changed files with 742 additions and 709 deletions
|
|
@ -60,7 +60,7 @@
|
|||
#include "Application.h"
|
||||
#include "SeparatorPrefixTree.h"
|
||||
|
||||
ExportInstanceDialog::ExportInstanceDialog(InstancePtr instance, QWidget* parent)
|
||||
ExportInstanceDialog::ExportInstanceDialog(BaseInstance* instance, QWidget* parent)
|
||||
: QDialog(parent), m_ui(new Ui::ExportInstanceDialog), m_instance(instance)
|
||||
{
|
||||
m_ui->setupUi(this);
|
||||
|
|
@ -98,7 +98,7 @@ ExportInstanceDialog::~ExportInstanceDialog()
|
|||
}
|
||||
|
||||
/// Save icon to instance's folder is needed
|
||||
void SaveIcon(InstancePtr m_instance)
|
||||
void SaveIcon(BaseInstance* m_instance)
|
||||
{
|
||||
auto iconKey = m_instance->iconKey();
|
||||
auto iconList = APPLICATION->icons();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue