X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fwidgets%2Fqg_filedialog.cpp;h=7410e4388786bd3590b7710a424230826419d193;hb=865303923fcb231a171992b75a73364ff469ff8c;hp=dabf93ffbe4af72a98ed6ef89561808bb41cdc93;hpb=16ce54abf01ca3032e42a5bb11a4afcf9014dcca;p=architektonas diff --git a/src/widgets/qg_filedialog.cpp b/src/widgets/qg_filedialog.cpp index dabf93f..7410e43 100644 --- a/src/widgets/qg_filedialog.cpp +++ b/src/widgets/qg_filedialog.cpp @@ -3,7 +3,9 @@ // Part of the Architektonas Project // Originally part of QCad Community Edition by Andrew Mustun // Extensively rewritten and refactored by James L. Hammons -// (C) 2010 Underground Software +// Portions copyright (C) 2001-2003 RibbonSoft +// Copyright (C) 2010 Underground Software +// See the README and GPLv2 files for licensing and warranty information // // JLH = James L. Hammons // @@ -17,7 +19,7 @@ #include "qg_graphicview.h" #include "settings.h" #include "rs_system.h" -#include "rs_graphic.h" +#include "drawing.h" /** * Shows a dialog for choosing a file name. Saving the file is up to @@ -200,7 +202,7 @@ QString QG_FileDialog::getOpenFileName(QWidget * parent, RS2::FormatType * type) fileDlg->selectNameFilter(defFilter); // preview: - RS_Graphic * gr = new RS_Graphic; + Drawing * gr = new Drawing; QG_GraphicView * prev = new QG_GraphicView(parent); prev->setContainer(gr); prev->setBorders(1, 1, 1, 1);