OtterBrowser / otter-browser

Otter Browser aims to recreate the best aspects of the classic Opera (12.x) UI using Qt5
https://otter-browser.org
GNU General Public License v3.0
1.8k stars 277 forks source link

File download rework #1622

Open fnkkio opened 4 years ago

fnkkio commented 4 years ago

Detailes: TBA

Emdek commented 4 years ago

@fnkkio, uhm, one thing is for sure, that dialog related part needs own PR, changing order to:

    const QMimeType mimeType(transfer->getMimeType());

    m_ui->nameTextLabelWidget->setText(fileName);
    m_ui->typeTextLabelWidget->setText((mimeType.comment() == QLatin1String("unknown")) ? mimeType.name() : mimeType.comment());