2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 08:55:59 +00:00

fixed build on linux for 9015001

This commit is contained in:
John Preston
2015-12-25 00:32:46 +03:00
parent 591a0aaa16
commit 1b1f9c5855
2 changed files with 2 additions and 2 deletions

View File

@@ -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());
}