[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebase/kwin/clients/b2
From:       Luciano Montanaro <mikelima () cirulla ! net>
Date:       2004-07-25 13:49:20
Message-ID: 20040725134920.2BECF9A33 () office ! kde ! org
[Download RAW message or body]

CVS commit by montanaro: 

Resize should work on button press, not on click.


  M +3 -3      b2client.cpp   1.80
  M +1 -1      b2client.h   1.39


--- kdebase/kwin/clients/b2/b2client.cpp  #1.79:1.80
@@ -308,5 +308,5 @@ void B2Client::shadeButtonClicked()
 }
 
-void B2Client::resizeButtonClicked()
+void B2Client::resizeButtonPressed()
 {
     performWindowOperation(ResizeOp);
@@ -485,6 +485,6 @@ void B2Client::addButtons(const QString&
                 button[BtnResize] = new B2Button(this, tb, tips[BtnResize]);
                 button[BtnResize]->setPixmaps(P_RESIZE);
-                connect(button[BtnResize], SIGNAL(clicked()),
-                        this, SLOT(resizeButtonClicked()));
+                connect(button[BtnResize], SIGNAL(pressed()),
+                        this, SLOT(resizeButtonPressed()));
                 titleLayout->addWidget(button[BtnResize]);
             }

--- kdebase/kwin/clients/b2/b2client.h  #1.38:1.39
@@ -126,5 +126,5 @@ private slots:
     void maxButtonClicked();
     void shadeButtonClicked();
-    void resizeButtonClicked();
+    void resizeButtonPressed();
 private:
     void addButtons(const QString& s, const QString tips[],


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic