diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-04-30 15:54:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-30 15:54:10 +0200 |
commit | 1d95f1009011b9c0c8ff4b5f1c4ae816385880a6 (patch) | |
tree | 31f8a3b46e8ad01df31ccb0c5ebf42bcee1cec31 /launcher/ui/pages/global/LauncherPage.cpp | |
parent | 3205d9e9da569fb7297916bfaac52faabd279fa1 (diff) | |
parent | ac405aa564821723505b4e46865d0a9ad1e32b99 (diff) | |
download | PrismLauncher-1d95f1009011b9c0c8ff4b5f1c4ae816385880a6.tar.gz PrismLauncher-1d95f1009011b9c0c8ff4b5f1c4ae816385880a6.tar.bz2 PrismLauncher-1d95f1009011b9c0c8ff4b5f1c4ae816385880a6.zip |
Merge pull request #489 from kthchew/fix/old-mac-cleanup
Diffstat (limited to 'launcher/ui/pages/global/LauncherPage.cpp')
-rw-r--r-- | launcher/ui/pages/global/LauncherPage.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/launcher/ui/pages/global/LauncherPage.cpp b/launcher/ui/pages/global/LauncherPage.cpp index 097a2bfa..af2e2cd1 100644 --- a/launcher/ui/pages/global/LauncherPage.cpp +++ b/launcher/ui/pages/global/LauncherPage.cpp @@ -97,13 +97,6 @@ LauncherPage::LauncherPage(QWidget *parent) : QWidget(parent), ui(new Ui::Launch } connect(ui->fontSizeBox, SIGNAL(valueChanged(int)), SLOT(refreshFontPreview())); connect(ui->consoleFont, SIGNAL(currentFontChanged(QFont)), SLOT(refreshFontPreview())); - - //move mac data button - QFile file(QDir::current().absolutePath() + "/dontmovemacdata"); - if (!file.exists()) - { - ui->migrateDataFolderMacBtn->setVisible(false); - } } LauncherPage::~LauncherPage() @@ -190,13 +183,6 @@ void LauncherPage::on_modsDirBrowseBtn_clicked() ui->modsDirTextBox->setText(cooked_dir); } } -void LauncherPage::on_migrateDataFolderMacBtn_clicked() -{ - QFile file(QDir::current().absolutePath() + "/dontmovemacdata"); - file.remove(); - QProcess::startDetached(qApp->arguments()[0]); - qApp->quit(); -} void LauncherPage::refreshUpdateChannelList() { |