gephex--main--0.4--patch-1804

[email protected]
Newsgroups gmane.comp.video.gephex.devel
Message-ID <[email protected]>
Archive: [email protected]
New revision: gephex--main--0.4--patch-1804

--
Revision: gephex--main--0.4--patch-1804
Archive: [email protected]
Creator: GePhex <[email protected]>
Date: Tue Oct  5 17:50:53 CEST 2004
Standard-date: 2004-10-05 15:50:53 GMT
Modified-files: qtgui/src/gui/hidebutton.cpp
    qtgui/src/gui/hidebutton.h
New-patches: [email protected]/gephex--main--0.4--patch-1804
    [email protected]/gephex--martin--0.4--patch-51
Summary: bugfix for property hide bug
Keywords: 

Patches applied:

 * [email protected]/gephex--martin--0.4--patch-51
   fix hide bug in the property view

* added files

    {arch}/gephex/gephex--main/gephex--main--0.4/[email protected]/patch-log/patch-1804
    {arch}/gephex/gephex--martin/gephex--martin--0.4/[email protected]/patch-log/patch-51

* modified files

--- orig/qtgui/src/gui/hidebutton.cpp
+++ mod/qtgui/src/gui/hidebutton.cpp
@@ -30,13 +30,15 @@
 HideButton::HideButton(QWidget* parent, InputPlugWidget& in)
   : QCheckBox(parent, "oller knopf"), m_in(&in)
 {
-  set_state( !m_in->isVisible() );
+  this->setToggleButton(true);
 
   connect(this, SIGNAL(toggled(bool)),
-          this, SLOT(set_state(bool)));
+          this, SLOT(hasBeenToggled(bool)));
+
+  setChecked( !m_in->isVisible() );
 }
 
-  void HideButton::set_state(bool state)
+  void HideButton::hasBeenToggled(bool state)
   {
     if (state)
       m_in->setInvisible();


--- orig/qtgui/src/gui/hidebutton.h
+++ mod/qtgui/src/gui/hidebutton.h
@@ -37,7 +37,7 @@
     HideButton(QWidget* parent, InputPlugWidget& in);
     
 private slots:
-  void set_state(bool);
+  void hasBeenToggled(bool);
 
 
   private:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.