Added missing return values
authorinsilmaril
Thu Mar 18 11:38:14 2010 +0000 (2010-03-18)
changeset 838e4a44912646c
parent 837 5ecd0462f76b
child 839 fbb927bbdda3
Added missing return values
attributeitem.cpp
mainwindow.cpp
     1.1 --- a/attributeitem.cpp	Thu Mar 18 11:31:02 2010 +0000
     1.2 +++ b/attributeitem.cpp	Thu Mar 18 11:38:14 2010 +0000
     1.3 @@ -67,6 +67,7 @@
     1.4  	}	
     1.5  	return definition->getKey();
     1.6  	*/
     1.7 +	return QString();
     1.8  }
     1.9  
    1.10  void AttributeItem::setValue(const QString &v)
    1.11 @@ -84,6 +85,7 @@
    1.12  	}	
    1.13  	definition->setValue (v);
    1.14  */
    1.15 +	return QString();
    1.16  }
    1.17  
    1.18  QVariant AttributeItem::getValue()
    1.19 @@ -102,6 +104,7 @@
    1.20  	QVariant v= definition->getValue();
    1.21  	return v;
    1.22  	*/
    1.23 +	return QString();
    1.24  }
    1.25  
    1.26  void AttributeItem::setType (const Type &t)
    1.27 @@ -153,6 +156,7 @@
    1.28  	}	
    1.29  	return definition->getTypeString();
    1.30  */	
    1.31 +	return QString();
    1.32  }
    1.33  
    1.34  void AttributeItem::setInternal(bool b)
     2.1 --- a/mainwindow.cpp	Thu Mar 18 11:31:02 2010 +0000
     2.2 +++ b/mainwindow.cpp	Thu Mar 18 11:38:14 2010 +0000
     2.3 @@ -1451,6 +1451,8 @@
     2.4  	for (int i=1; i<8; i++)
     2.5  	{
     2.6  		flag=new Flag(flagsPath+QString("freemind/priority-%1.png").arg(i));
     2.7 +		flag->setVisible(false);
     2.8 +		flag->setGroup ("Freemind-priority");
     2.9  		setupFlag (flag,tb, QString("freemind-priority-%1").arg(i),tr("Priority","Freemind-Flag"));
    2.10  	}
    2.11