SVN_SILENT: tidy
svn path=/trunk/KDE/kdelibs/; revision=1121283
This commit is contained in:
parent
93294aa05c
commit
c529b14bab
@ -301,8 +301,9 @@ void ToolTip::setContent(QObject *tipper, const ToolTipContent &data)
|
||||
d->imageLabel->setPixmap(data.image());
|
||||
|
||||
if (data.highlightWindows() && (data.windowsToPreview().size() > 1 || data.windowToPreview() != 0)) {
|
||||
WindowEffects::highlightWindows(winId(), QList<WId>()<<winId()<<data.windowsToPreview());
|
||||
WindowEffects::highlightWindows(winId(), QList<WId>() << winId() << data.windowsToPreview());
|
||||
}
|
||||
|
||||
if (data.windowsToPreview().size() > 1) {
|
||||
d->preview->setWindowIds(data.windowsToPreview());
|
||||
} else {
|
||||
@ -310,6 +311,7 @@ void ToolTip::setContent(QObject *tipper, const ToolTipContent &data)
|
||||
ids.append(data.windowToPreview());
|
||||
d->preview->setWindowIds(ids);
|
||||
}
|
||||
|
||||
d->preview->setHighlightWindows(data.highlightWindows());
|
||||
|
||||
d->autohide = data.autohide();
|
||||
|
Loading…
Reference in New Issue
Block a user