]> git.lyx.org Git - features.git/commitdiff
* GuiView.{cpp, h}:
authorJürgen Spitzmüller <spitz@lyx.org>
Mon, 28 Apr 2008 04:57:31 +0000 (04:57 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Mon, 28 Apr 2008 04:57:31 +0000 (04:57 +0000)
- fix compilation (gcc didn't like the string arguments in the header file)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24530 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiView.cpp
src/frontends/qt4/GuiView.h

index 533b8c8e210903ac2506cff17271ff6721a8d666..8ee2a5907e37d7d962e504f68fb68881db0d89ee 100644 (file)
@@ -916,6 +916,12 @@ void GuiView::errors(string const & error_type)
 }
 
 
+void GuiView::structureChanged()
+{
+       updateDialog("toc", "");
+}
+
+
 void GuiView::updateDialog(string const & name, string const & data)
 {
        if (!isDialogVisible(name))
index c7387ac08db9c73e77255fed1c152773656baaa8..8aeefcf7085c4f380c85b9ed95b4b9286d6f24e3 100644 (file)
@@ -104,7 +104,7 @@ public:
        ///@{
        void resetAutosaveTimers();
        void errors(std::string const &);
-       void structureChanged() { updateDialog("toc", ""); }
+       void structureChanged();
        ///@}
        
        /// called on timeout