mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Use the File::OpenUrl routine in IV
This commit is contained in:
parent
0e428aebdb
commit
602b0b5d9b
1 changed files with 1 additions and 2 deletions
|
@ -47,7 +47,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
#include "window/window_session_controller.h"
|
||||
#include "window/window_session_controller_link_info.h"
|
||||
|
||||
#include <QtGui/QDesktopServices>
|
||||
#include <QtGui/QGuiApplication>
|
||||
|
||||
namespace Iv {
|
||||
|
@ -832,7 +831,7 @@ void Instance::show(
|
|||
processJoinChannel(event.context);
|
||||
break;
|
||||
case Type::OpenLinkExternal:
|
||||
QDesktopServices::openUrl(event.url);
|
||||
File::OpenUrl(event.url);
|
||||
closeAll();
|
||||
break;
|
||||
case Type::OpenMedia:
|
||||
|
|
Loading…
Add table
Reference in a new issue