mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-14 12:37:23 +00:00
GH-2859 improve UI for twitch pack import with drag&drop
This commit is contained in:
@@ -10,6 +10,11 @@ TwitchPage::TwitchPage(NewInstanceDialog* dialog, QWidget *parent)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
connect(ui->checkButton, &QPushButton::clicked, this, &TwitchPage::triggerCheck);
|
||||
connect(ui->twitchLabel, &DropLabel::droppedURLs, [this](QList<QUrl> urls){
|
||||
if(urls.size()) {
|
||||
setUrl(urls[0].toString());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
TwitchPage::~TwitchPage()
|
||||
|
||||
Reference in New Issue
Block a user