[QGIS-trac] [Quantum GIS] #2273: patch to have a single window icon
on Microsoft Windows
Quantum GIS
qgis at qgis.org
Sat Dec 12 13:37:43 EST 2009
#2273: patch to have a single window icon on Microsoft Windows
--------------------------------+-------------------------------------------
Reporter: smizuno | Owner: nobody
Type: patch | Status: new
Priority: minor: annoyance | Milestone: Version 1.4.0
Component: Build/Install | Version: HEAD
Keywords: | Platform_version:
Platform: Windows | Must_fix: No
Status_info: 0 |
--------------------------------+-------------------------------------------
On Windows builds of QGIS I have noticed that there are two slightly
different window icons in various windows. This is not the case for Linux
builds.
I found that a main window icon is set in QgisApp. For Microsoft Windows
there is an icon placed in a resource file, which becomes the application
icon. The main window icon is displayed on the QGIS main window and for
any window it owns. The application icon (from the resource) is used for
all windows not owned by the main window.
It is better if an application icon is set on the QApplication object so
all windows inherit this icon unless a different icon is set for a window.
This patch removes the window icon set in QgisApp. For Linux/Mac it sets
the application icon in the constructor of QgsApplication. For Windows,
the icon in the resource is the application icon (no icon is set in
QgsApplication).
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/2273>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list