From 1b1f9c5855fb7ccf09d4f380697f928944fb90ed Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 25 Dec 2015 00:32:46 +0300 Subject: [PATCH] fixed build on linux for 9015001 --- Telegram/SourceFiles/pspecific_linux.cpp | 2 +- Telegram/Telegram.pro | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/pspecific_linux.cpp b/Telegram/SourceFiles/pspecific_linux.cpp index 67137e977..362ad796a 100644 --- a/Telegram/SourceFiles/pspecific_linux.cpp +++ b/Telegram/SourceFiles/pspecific_linux.cpp @@ -1142,7 +1142,7 @@ void psOpenFile(const QString &name, bool openWith) { } void psShowInFolder(const QString &name) { - App::wnd()->hideLayer(true); + Ui::hideLayer(true); system((qsl("xdg-open ") + escapeShell(QFileInfo(name).absoluteDir().absolutePath())).toUtf8().constData()); } diff --git a/Telegram/Telegram.pro b/Telegram/Telegram.pro index 057af1c44..6712fba13 100644 --- a/Telegram/Telegram.pro +++ b/Telegram/Telegram.pro @@ -308,7 +308,7 @@ INCLUDEPATH += "/usr/include/atk-1.0" INCLUDEPATH += "/usr/include/dee-1.0" INCLUDEPATH += "/usr/include/libdbusmenu-glib-0.4" -LIBS += -lcrypto -lssl -lz -ldl -llzma -lexif -lopenal -lavformat -lavcodec -lswresample -lswscale -lavutil -lopus +LIBS += -lcrypto -lssl -lz -ldl -llzma -lexif -lopenal -lavformat -lavcodec -lswresample -lswscale -lavutil -lopus -lva LIBS += ./../../../Libraries/QtStatic/qtbase/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.a \ ./../../../Libraries/QtStatic/qtbase/plugins/platforminputcontexts/libibusplatforminputcontextplugin.a \ ./../../../Libraries/QtStatic/qtbase/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.a