~ubuntu-branches/debian/experimental/qtcurve/experimental

« back to all changes in this revision

Viewing changes to qt4/style/blurhelper.cpp

  • Committer: Package Import Robot
  • Author(s): Boris Pek, Thanks to Scarlett Clark
  • Date: 2015-07-26 04:17:05 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20150726041705-yuxbierbpely1fvp
Tags: 1.8.18+git20150711-a3fff13-1
* Upstream Git snapshot (1.8.18-242-ga3fff13) is taken from:
  http://quickgit.kde.org/?p=qtcurve.git
* Localization files are taken from last stable release (1.8.18).
* Fixed in upstream:
  - gtk2-engines-qtcurve: inkscape 0.91 crashes after palette mouse-over
    (Closes: #786831)
  - gtk2-engines-qtcurve: massive memory leak in mysql-workbench
    (Closes: #682162)
* Update debian/patches:
  - delete qt53-build-fix.diff (fixed in upstream)
  - add enable-translations.patch
* Update debian/control:
  - bump Standards-Version to 3.9.6 (was 3.9.5): no changes required
  - update Build-Depends for transition from KDE4 to KF5:
    + delete dependencies from: kdebase-workspace-dev and qtdeclarative5-dev
    + add dependencies from: extra-cmake-modules, kio-dev,
      libkf5archive-dev, libkf5config-dev, libkf5configwidgets-dev,
      libkf5i18n-dev, libkf5kdelibs4support-dev, libkf5widgetsaddons-dev,
      libkf5xmlgui-dev, libqt5x11extras5-dev, libxcb1-dev, pkg-config
      [Thanks to Scarlett Clark]
  - delete package kwin-style-qtcurve: it is not available for KF5 yet
    (LP: #1452218)
  - package kde-style-qtcurve now provides package kde-style-qtcurve-qt4
  - package kde-style-qtcurve is "Multi-Arch: same" now
  - metapackage qtcurve now depends on kde-style-qtcurve-qt5 and recommends
    kwin-decoration-oxygen, oxygen-icon-theme and oxygencursors
* Update debian/rules:
  - build using kf5 libraries instead of kde4
  - update configure flags
  - use xz compression in packages
* Update debian/kde-style-qtcurve.install:
  there are no KDE4 related files anymore.
* Update debian/kde-style-qtcurve-qt5.install.
* Update debian/copyright.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 *   Copyright 2010 Craig Drummond <craig.p.drummond@gmail.com>              *
3
 
 *   Copyright 2013 - 2014 Yichao Yu <yyc1992@gmail.com>                     *
 
3
 *   Copyright 2013 - 2015 Yichao Yu <yyc1992@gmail.com>                     *
4
4
 *                                                                           *
5
5
 *   This program is free software; you can redistribute it and/or modify    *
6
6
 *   it under the terms of the GNU Lesser General Public License as          *
171
171
void
172
172
BlurHelper::update(QWidget *widget) const
173
173
{
174
 
    QTC_RET_IF_FAIL(qtcX11GetConn());
 
174
    // DO NOT condition compile on QTC_ENABLE_X11.
 
175
    // There's no direct linkage on X11 and the following code will just do
 
176
    // nothing if X11 is not enabled (either at compile time or at run time).
 
177
    QTC_RET_IF_FAIL(qtcX11Enabled());
175
178
    // Do not create native window if there isn't one yet.
176
179
    WId wid = qtcGetWid(widget);
177
180
    if (!wid) {
196
199
void
197
200
BlurHelper::clear(WId wid) const
198
201
{
199
 
    QTC_RET_IF_FAIL(qtcX11GetConn());
 
202
    // DO NOT condition compile on QTC_ENABLE_X11.
 
203
    // There's no direct linkage on X11 and the following code will just do
 
204
    // nothing if X11 is not enabled (either at compile time or at run time).
 
205
    QTC_RET_IF_FAIL(qtcX11Enabled());
200
206
    qtcX11BlurTrigger(wid, false, 0, 0);
201
207
}
202
208
}