[qet] [3823] Differentiates the icons to configpages or project |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 3823
Author: scorpio810
Date: 2015-03-13 10:04:04 +0100 (Fri, 13 Mar 2015)
Log Message:
-----------
Differentiates the icons to configpages or project
Modified Paths:
--------------
trunk/sources/configpages.cpp
Modified: trunk/sources/configpages.cpp
===================================================================
--- trunk/sources/configpages.cpp 2015-03-13 05:24:25 UTC (rev 3822)
+++ trunk/sources/configpages.cpp 2015-03-13 09:04:04 UTC (rev 3823)
@@ -161,6 +161,7 @@
* @return icon of this page
*/
QIcon NewDiagramPage::icon() const {
+ if (m_project) return(QET::Icons::NewDiagram);
return(QET::Icons::Projects);
}