remove QMakeMetaInfo::clear()
each instance of the class is used only once. Change-Id: I33e01537ee3a731c0f9758ec65c74938e4bec28c Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
parent
ffe7f408ea
commit
efe9c7ddbb
@ -50,7 +50,6 @@ QMakeMetaInfo::QMakeMetaInfo(QMakeProject *_conf)
|
|||||||
bool
|
bool
|
||||||
QMakeMetaInfo::readLib(QString lib)
|
QMakeMetaInfo::readLib(QString lib)
|
||||||
{
|
{
|
||||||
clear();
|
|
||||||
QString meta_file = findLib(lib);
|
QString meta_file = findLib(lib);
|
||||||
|
|
||||||
if(cache_vars.contains(meta_file)) {
|
if(cache_vars.contains(meta_file)) {
|
||||||
@ -84,13 +83,6 @@ QMakeMetaInfo::readLib(QString lib)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
|
||||||
QMakeMetaInfo::clear()
|
|
||||||
{
|
|
||||||
vars.clear();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
QString
|
QString
|
||||||
QMakeMetaInfo::findLib(QString lib)
|
QMakeMetaInfo::findLib(QString lib)
|
||||||
{
|
{
|
||||||
|
@ -52,7 +52,6 @@ class QMakeMetaInfo
|
|||||||
ProValueMap vars;
|
ProValueMap vars;
|
||||||
QString meta_type;
|
QString meta_type;
|
||||||
static QHash<QString, ProValueMap> cache_vars;
|
static QHash<QString, ProValueMap> cache_vars;
|
||||||
void clear();
|
|
||||||
public:
|
public:
|
||||||
QMakeMetaInfo(QMakeProject *_conf);
|
QMakeMetaInfo(QMakeProject *_conf);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user