1 #include "openinstaller.h"
3 #include <QDesktopServices>
7 OpenInstaller::OpenInstaller() {}
9 void updater::OpenInstaller::start(const QString &filename) {
10 if (!QDesktopServices::openUrl(QUrl("file:///" + filename))) emit error("Cannot start update");
13 } // namespace updater