diff options
author | Alessandro Portale <alessandro.portale@digia.com> | 2014-07-15 15:25:32 +0200 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@digia.com> | 2014-07-15 16:26:47 +0200 |
commit | 5f23a89947c909f019948ab5f5396a8e0ea7c734 (patch) | |
tree | 69b1b0fa3a3c804a4d86393777d5d7ff393feefa /src/tools/cplusplus-tools-utils/cplusplus-tools-utils.cpp | |
parent | 418b45ae66d347c6083b392a9e74eb491e44e0c6 (diff) | |
download | qt-creator-5f23a89947c909f019948ab5f5396a8e0ea7c734.tar.gz |
Core: Use enable the use of magnifier@2x.png
magnifier@2x.png was already part of the core plugin, but never used
since the @2x logic is in QIcon and for the magnifier.png we use QPixmap
for loading.
This patch uses Utils::StyleHelper::dpiSpecificPixmap() to load the
image in the findtoolbar and locatorwidget. It also removes the image
centering code in FindToolBar::updateIcons() (most likely a by now
obsolete workaround) since the image gets properly centered in the
Utils::FancyLineEdit.
Change-Id: I5cd6d22fc5cce3838db6164568cb9165da052c49
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/tools/cplusplus-tools-utils/cplusplus-tools-utils.cpp')
0 files changed, 0 insertions, 0 deletions