~ubuntu-branches/ubuntu/utopic/kde4libs/utopic

« back to all changes in this revision

Viewing changes to plasma/widgets/lineedit.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2011-12-16 13:53:22 UTC
  • mfrom: (1.14.11)
  • Revision ID: package-import@ubuntu.com-20111216135322-joct6gdco90t3koc
Tags: 4:4.7.90-0ubuntu1
* New upstream beta release
* Remove kubuntu_mobile patches, kactivities is split out now and they 
  will be out of date, keep 
  kubuntu-mobile-07-serviceAvailabilityChanged-bool-signal.diff
  for binary compatibility reasons

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
    d->background->setImagePath("widgets/lineedit");
65
65
    d->background->setCacheAllRenderedFrames(true);
66
66
 
67
 
    new FocusIndicator(this, d->background);
 
67
    FocusIndicator *indicator = new FocusIndicator(this, d->background);
 
68
    if (d->background->hasElement("hint-focus-over-base")) {
 
69
        indicator->setFlag(QGraphicsItem::ItemStacksBehindParent, false);
 
70
    }
68
71
    setNativeWidget(new KLineEdit);
69
72
}
70
73