]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/GuiView.cpp
Factorize general code out of GuiDialog and into the base Dialog class. This is now...
[features.git] / src / frontends / qt4 / GuiView.cpp
index 5752fb8948b7f6f4e3cec89b70bc52ec577cb7b5..f2c7ced20391b7abbd35b60100cb5f64383c8a9c 100644 (file)
@@ -1668,7 +1668,7 @@ void GuiView::hideDialog(string const & name, Inset * inset)
 
        Dialog * const dialog = it->second.get();
        if (dialog->isVisibleView())
-               dialog->hide();
+               dialog->hideView();
        d.open_insets_[name] = 0;
 }
 
@@ -1699,7 +1699,7 @@ void GuiView::hideAll() const
        std::map<string, DialogPtr>::const_iterator end = d.dialogs_.end();
 
        for(; it != end; ++it)
-               it->second->hide();
+               it->second->hideView();
 }
 
 
@@ -1711,7 +1711,7 @@ void GuiView::hideBufferDependent() const
        for(; it != end; ++it) {
                Dialog * dialog = it->second.get();
                if (dialog->isBufferDependent())
-                       dialog->hide();
+                       dialog->hideView();
        }
 }
 
@@ -1729,7 +1729,7 @@ void GuiView::updateBufferDependent(bool switched) const
                        if (dialog->initialiseParams(""))
                                dialog->updateView();
                        else
-                               dialog->hide();
+                               dialog->hideView();
                } else {
                        // A bit clunky, but the dialog will request
                        // that the kernel provides it with the necessary