mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-04-07 14:09:22 +08:00
Merge pull request #1081 from ONLYOFFICE/patch/release/v8.0.0_r3
Fix bug 65493
This commit is contained in:
@ -339,8 +339,7 @@ void CDownloadWidget::downloadProcess(void * info)
|
||||
connect(open, &QPushButton::clicked, this, [=]() {
|
||||
hide();
|
||||
if (CCefViewEditor::GetFileFormat(path.toStdWString()) == 0) {
|
||||
if (!QDesktopServices::openUrl(QUrl::fromLocalFile(path)))
|
||||
CMessage::error(parentWidget(), tr("Can't open file: ") + path);
|
||||
Utils::openUrl(QUrl::fromLocalFile(path).toString());
|
||||
} else {
|
||||
AscAppManager::handleInputCmd({path.toStdWString()});
|
||||
#ifdef _WIN32
|
||||
|
||||
Reference in New Issue
Block a user