]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/FloatPlacement.cpp
On Linux show in crash message box the backtrace
[lyx.git] / src / frontends / qt4 / FloatPlacement.cpp
index 3035d9ba70be510f2a531ef680d147e2f30e941e..be5cf0543ae5be78dcb9a7207c1c2b4da2e7383e 100644 (file)
 #include "Buffer.h"
 #include "BufferParams.h"
 #include "FloatList.h"
+#include "TextClass.h"
 
 #include "insets/InsetFloat.h"
 #include "support/lstrings.h"
 
+#include <map>
+
 using namespace std;
 using namespace lyx::support;
 
@@ -126,7 +129,7 @@ void FloatPlacement::initFloatTypeCO(FloatList const & floats)
        FloatList::const_iterator const end = floats.end();
        for (; it != end; ++it) {
                floatTypeCO->addItem(qt_(it->second.name()),
-                                    toqstr(it->second.type()));
+                                    toqstr(it->second.floattype()));
        }
 }