]> Shamusworld >> Repos - architektonas/blobdiff - src/widgets/qg_filedialog.cpp
Refactored CAD tool bars to use predefined actions.
[architektonas] / src / widgets / qg_filedialog.cpp
index dabf93ffbe4af72a98ed6ef89561808bb41cdc93..26e1b69332a5c4c324dff9aa2c48604c6f67a264 100644 (file)
@@ -17,7 +17,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 +200,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);