2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-03 08:05:12 +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());
}