mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
Show python info in About LyX
This commit is contained in:
parent
fe792d7efe
commit
c6dfc70367
@ -281,6 +281,11 @@ static QString version(bool const plain = false)
|
|||||||
else
|
else
|
||||||
out << "</p><p>";
|
out << "</p><p>";
|
||||||
out << toqstr(bformat(_("Qt Version (compile-time): %1$s"), from_ascii(QT_VERSION_STR)));
|
out << toqstr(bformat(_("Qt Version (compile-time): %1$s"), from_ascii(QT_VERSION_STR)));
|
||||||
|
if (plain)
|
||||||
|
out << '\n';
|
||||||
|
else
|
||||||
|
out << "</p><p>";
|
||||||
|
out << toqstr(bformat(_("Python detected: %1$s"), from_utf8(os::python())));
|
||||||
if (!plain)
|
if (!plain)
|
||||||
out << toqstr("</p></body></html>");
|
out << toqstr("</p></body></html>");
|
||||||
return res;
|
return res;
|
||||||
@ -339,7 +344,7 @@ GuiAbout::GuiAbout(GuiView & lv)
|
|||||||
d->ui.tab->setUsesScrollButtons(false);
|
d->ui.tab->setUsesScrollButtons(false);
|
||||||
|
|
||||||
// fix height to minimum
|
// fix height to minimum
|
||||||
setFixedHeight(sizeHint().height());
|
// setFixedHeight(sizeHint().height());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>552</width>
|
<width>552</width>
|
||||||
<height>402</height>
|
<height>470</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
|
Loading…
Reference in New Issue
Block a user