mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
* src/frontends/qt4/LyXFileDialog.cpp:
- explicitely set ShowHidden for hidden UNIX directories (workaround for Qt bug, bug 4513). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22916 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d9d98018bd
commit
7b295e03f0
@ -52,6 +52,13 @@ LyXFileDialog::LyXFileDialog(docstring const & t,
|
||||
toqstr(t), toqstr(p), toqstr(filters.as_string())),
|
||||
b1_(0), b2_(0)
|
||||
{
|
||||
QString const path = toqstr(p);
|
||||
QDir dir(path);
|
||||
// FIXME: workaround for a bug in qt which makes LyX crash
|
||||
// with hidden paths (bug 4513). Recheck with recent Qt versions.
|
||||
if (path.contains("/."))
|
||||
dir.setFilter(QDir::Hidden);
|
||||
setDirectory(dir);
|
||||
setWindowTitle(toqstr(t));
|
||||
|
||||
QList<QHBoxLayout *> layout = findChildren<QHBoxLayout *>();
|
||||
|
@ -143,6 +143,9 @@ What's new
|
||||
- Fix an assertion when inserting a box in a list while at least one
|
||||
paragraph of that list was selected (bug 4502).
|
||||
|
||||
- Fix a crash when opening a file that resides in a hidden directory
|
||||
(bug 4513).
|
||||
|
||||
- Do not exit after catching an iconv exception (bug 4385, part 2).
|
||||
|
||||
- Fix update/drawing of character style insets.
|
||||
|
Loading…
x
Reference in New Issue
Block a user