~ubuntu-branches/ubuntu/trusty/minitube/trusty

« back to all changes in this revision

Viewing changes to src/segmentedcontrol.cpp

  • Committer: Package Import Robot
  • Author(s): Jakob Haufe
  • Date: 2012-09-29 02:43:53 UTC
  • mfrom: (2.1.10)
  • Revision ID: package-import@ubuntu.com-20120929024353-cvsvqeewq4p93pb4
Tags: 1.9-1
* New upstream version (Closes: #673696).
* Refresh disable-update-check.
* Refresh proper-tempfiles.
* Use hardening-wrapper.

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
    return(QSize(itemsWidth, QFontMetrics(font()).height() * 1.9));
59
59
}
60
60
 
61
 
void SegmentedControl::paintEvent (QPaintEvent *event) {
62
 
    int height = event->rect().height();
63
 
    int width = event->rect().width();
 
61
void SegmentedControl::paintEvent (QPaintEvent * /*event*/) {
 
62
    int height = rect().height();
 
63
    int width = rect().width();
64
64
 
65
65
    QPainter p(this);
66
66