]> git.lyx.org Git - features.git/commitdiff
Move maxlastfiles from Session.h to LyXRC.h
authorAbdelrazak Younes <younes@lyx.org>
Mon, 22 Sep 2008 07:42:57 +0000 (07:42 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Mon, 22 Sep 2008 07:42:57 +0000 (07:42 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26493 a592a061-630c-0410-9148-cb99ea01b6c8

src/LyXRC.h
src/Session.h

index 4f88b941331ec12f245638f654177e8e43f9b073..e1a9ae9a286a5ad56fbf4af04a876e0eb02bcb9b 100644 (file)
@@ -470,6 +470,9 @@ extern LyXRC lyxrc;
 ///
 extern LyXRC system_lyxrc;
 
+// used by at least frontends/qt4/GuiPref.cpp
+const long maxlastfiles = 20;
+
 } // namespace lyx
 
 #endif
index 2b1e216570481b3258708fafcf349c4d818bb2cd..d673da22e950121849a8be5707c14b6f83fde558 100644 (file)
@@ -21,9 +21,6 @@
 #include <vector>
 #include <map>
 
-// used by at least frontends/qt4/GuiPref.cpp
-const long maxlastfiles = 20;
-
 /** This session file maintains
   1. the latest documents loaded (lastfiles)
   2. cursor positions of files closed (lastfilepos)