]> Shamusworld >> Repos - architektonas/blobdiff - src/widgets/qg_filedialog.cpp
GPL compliance check...
[architektonas] / src / widgets / qg_filedialog.cpp
index dabf93ffbe4af72a98ed6ef89561808bb41cdc93..7410e4388786bd3590b7710a424230826419d193 100644 (file)
@@ -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 <jlhamm@acm.org>
 //
@@ -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);