mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 13:30:34 +01:00
Differentiates the icons to configpages or project
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3823 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -161,6 +161,7 @@ void NewDiagramPage::applyConf() {
|
|||||||
* @return icon of this page
|
* @return icon of this page
|
||||||
*/
|
*/
|
||||||
QIcon NewDiagramPage::icon() const {
|
QIcon NewDiagramPage::icon() const {
|
||||||
|
if (m_project) return(QET::Icons::NewDiagram);
|
||||||
return(QET::Icons::Projects);
|
return(QET::Icons::Projects);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user