bug 1028 fix

(the clone() patch needs some additional stuff for this, it will
wait until that's applied - it's in my tree)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7075 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2003-06-01 00:59:56 +00:00
parent 767034028f
commit 6391d04bf9
2 changed files with 9 additions and 7 deletions

View File

@ -1,3 +1,8 @@
2003-06-01 John Levon <levon@movementarian.org>
* QGraphicsDialog.C: use relative file browsing
(bug 1028)
2003-05-24 John Levon <levon@movementarian.org>
* Toolbar_pimpl.C: workaround a Qt bug with combobox

View File

@ -87,14 +87,11 @@ void QGraphicsDialog::closeEvent(QCloseEvent * e)
void QGraphicsDialog::browse_clicked()
{
QString file = QFileDialog::getOpenFileName(
QString::null, qt_("Files (*)"),
this, 0, qt_("Select graphics file"));
if (!file.isNull()) {
filename->setText(file);
string const str =
form_->controller().Browse(fromqstr(filename->text()));
filename->setText(toqstr(str));
form_->changed();
}
}
void QGraphicsDialog::getBB_clicked()