fix: change wording of TP/RP download buttons
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
46c6cc2d2b
commit
89255e34bd
@ -46,8 +46,8 @@
|
|||||||
ResourcePackPage::ResourcePackPage(MinecraftInstance* instance, std::shared_ptr<ResourcePackFolderModel> model, QWidget* parent)
|
ResourcePackPage::ResourcePackPage(MinecraftInstance* instance, std::shared_ptr<ResourcePackFolderModel> model, QWidget* parent)
|
||||||
: ExternalResourcesPage(instance, model, parent)
|
: ExternalResourcesPage(instance, model, parent)
|
||||||
{
|
{
|
||||||
ui->actionDownloadItem->setText(tr("Download RPs"));
|
ui->actionDownloadItem->setText(tr("Download packs"));
|
||||||
ui->actionDownloadItem->setToolTip(tr("Download RPs from online platforms"));
|
ui->actionDownloadItem->setToolTip(tr("Download resource packs from online platforms"));
|
||||||
ui->actionDownloadItem->setEnabled(true);
|
ui->actionDownloadItem->setEnabled(true);
|
||||||
connect(ui->actionDownloadItem, &QAction::triggered, this, &ResourcePackPage::downloadRPs);
|
connect(ui->actionDownloadItem, &QAction::triggered, this, &ResourcePackPage::downloadRPs);
|
||||||
ui->actionsToolbar->insertActionBefore(ui->actionAddItem, ui->actionDownloadItem);
|
ui->actionsToolbar->insertActionBefore(ui->actionAddItem, ui->actionDownloadItem);
|
||||||
|
@ -48,8 +48,8 @@
|
|||||||
TexturePackPage::TexturePackPage(MinecraftInstance* instance, std::shared_ptr<TexturePackFolderModel> model, QWidget* parent)
|
TexturePackPage::TexturePackPage(MinecraftInstance* instance, std::shared_ptr<TexturePackFolderModel> model, QWidget* parent)
|
||||||
: ExternalResourcesPage(instance, model, parent)
|
: ExternalResourcesPage(instance, model, parent)
|
||||||
{
|
{
|
||||||
ui->actionDownloadItem->setText(tr("Download TPs"));
|
ui->actionDownloadItem->setText(tr("Download packs"));
|
||||||
ui->actionDownloadItem->setToolTip(tr("Download TPs from online platforms"));
|
ui->actionDownloadItem->setToolTip(tr("Download texture packs from online platforms"));
|
||||||
ui->actionDownloadItem->setEnabled(true);
|
ui->actionDownloadItem->setEnabled(true);
|
||||||
connect(ui->actionDownloadItem, &QAction::triggered, this, &TexturePackPage::downloadTPs);
|
connect(ui->actionDownloadItem, &QAction::triggered, this, &TexturePackPage::downloadTPs);
|
||||||
ui->actionsToolbar->insertActionBefore(ui->actionAddItem, ui->actionDownloadItem);
|
ui->actionsToolbar->insertActionBefore(ui->actionAddItem, ui->actionDownloadItem);
|
||||||
|
Loading…
Reference in New Issue
Block a user