diff -r 454f8b730946 -r 2418d5955421 src/main.cpp --- a/src/main.cpp Sat Dec 07 01:18:21 2013 +0200 +++ b/src/main.cpp Thu Dec 12 19:44:09 2013 +0200 @@ -22,7 +22,7 @@ #include #include #include "gui.h" -#include "file.h" +#include "document.h" #include "misc.h" #include "config.h" #include "colors.h" @@ -33,7 +33,7 @@ #include "dialogs.h" #include "crashcatcher.h" -QList g_loadedFiles; +QList g_loadedFiles; ForgeWindow* g_win = null; const QApplication* g_app = null; File g_file_stdout (stdout, File::Write); @@ -54,7 +54,7 @@ g_app = &app; initCrashCatcher(); - LDFile::setCurrent (null); + LDDocument::setCurrent (null); // Load or create the configuration if (!Config::load())