Mercurial > hg > octave-lojdl
changeset 16562:fb8fe0ed4bbb
* files-doc-widget.cc: Undo unintended changes from changeset 5fc1ce2947bd.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 24 Apr 2013 16:34:41 -0400 |
parents | 0e1fe2aff3e5 |
children | 34a9a4e48f9b |
files | libgui/src/files-dock-widget.cc |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/files-dock-widget.cc +++ b/libgui/src/files-dock-widget.cc @@ -28,8 +28,6 @@ #include "files-dock-widget.h" #include <QApplication> -#include <QDesktopServices> -#include <QUrl> #include <QFileInfo> #include <QCompleter> #include <QSettings> @@ -291,9 +289,7 @@ if (is_octave_data_file (abs_fname.toStdString ())) emit load_file_signal (abs_fname); else - QDesktopServices::openUrl (QUrl::fromLocalFile (abs_fname)); - - // emit open_file (fileInfo.absoluteFilePath ()); + emit open_file (fileInfo.absoluteFilePath ()); } } }