styles gen tab fixed, linux nautilus changed to xdg-open, source for 0.8.25.dev version
This commit is contained in:
parent
84c2a33c18
commit
9fee0ace4c
|
@ -1574,7 +1574,7 @@ Copyright (c) 2014 John Preston, https://desktop.telegram.org\n\
|
||||||
tcpp << "\tFontFamilies _fontFamilies;\n";
|
tcpp << "\tFontFamilies _fontFamilies;\n";
|
||||||
tcpp << "\tFontDatas _fontsMap;\n";
|
tcpp << "\tFontDatas _fontsMap;\n";
|
||||||
tcpp << "\tColorDatas _colorsMap;\n";
|
tcpp << "\tColorDatas _colorsMap;\n";
|
||||||
tcpp << "int _spriteWidth = " << spriteWidths[0] << ";\n\n";
|
tcpp << "\tint _spriteWidth = " << spriteWidths[0] << ";\n\n";
|
||||||
tcpp << "\tvoid startManager() {\n";
|
tcpp << "\tvoid startManager() {\n";
|
||||||
|
|
||||||
tcpp << "\n\t\tif (cRetina()) {\n";
|
tcpp << "\n\t\tif (cRetina()) {\n";
|
||||||
|
|
|
@ -1101,7 +1101,7 @@ void psOpenFile(const QString &name, bool openWith) {
|
||||||
|
|
||||||
void psShowInFolder(const QString &name) {
|
void psShowInFolder(const QString &name) {
|
||||||
App::wnd()->layerHidden();
|
App::wnd()->layerHidden();
|
||||||
system((qsl("nautilus ") + escapeShell(QFileInfo(name).absoluteDir().absolutePath())).toUtf8().constData());
|
system((qsl("xdg-open ") + escapeShell(QFileInfo(name).absoluteDir().absolutePath())).toUtf8().constData());
|
||||||
}
|
}
|
||||||
|
|
||||||
void psStart() {
|
void psStart() {
|
||||||
|
|
Loading…
Reference in New Issue