~ubuntu-branches/ubuntu/utopic/youker-assistant/utopic-proposed

« back to all changes in this revision

Viewing changes to src/authdialog_event.cpp

  • Committer: Package Import Robot
  • Author(s): Kobe Lee (kylinkobe)
  • Date: 2013-09-18 16:22:14 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130918162214-6nqyjyf3cd3ynqky
Tags: 0.2.1-0ubuntu1
* Modify the mouse events of MonitorBall.
* Add reset button for clear pages.
* Add policykit for apt clear in sudodbus.
* Fixed the bug about software status and add masklayer.
* Rewrite the code of system information.
* Add some signals and slots.
* Fixed the bug about Software signals(LP: #1226389).
* Modify KThread and add base.py.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
                QMouseEvent *me = (QMouseEvent *)event;
49
49
                QLabel *lb = (QLabel *)obj;
50
50
                if(me->x() > 0 && me->x() < lb->width() && me->y() > 0 && me->y() < lb->height()){
51
 
                    this->close();
52
 
                    this->destroy();
53
 
                    exit(0);
 
51
                    this->hide();
 
52
//                    this->close();
 
53
//                    this->destroy();
 
54
//                    exit(0);
54
55
                }else{
55
56
                    ui->btn_close->setPixmap(QPixmap(":/pixmap/image/closeBtn.png"));
56
57
                }