mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 14:50:53 +01:00
Fix compile error
This commit is contained in:
@@ -188,7 +188,7 @@ void MachineInfo::send_info_to_debug()
|
||||
QDirIterator it1(QETApp::commonElementsDir().toLatin1(),nameFilters, QDir::Files, QDirIterator::Subdirectories);
|
||||
while (it1.hasNext())
|
||||
{
|
||||
if(it1.next() > 0 )
|
||||
if(it1.next() != "")
|
||||
{
|
||||
commomElementsDir ++;
|
||||
}
|
||||
@@ -200,7 +200,7 @@ void MachineInfo::send_info_to_debug()
|
||||
QDirIterator it2(QETApp::customElementsDir().toLatin1(), nameFilters, QDir::Files, QDirIterator::Subdirectories);
|
||||
while (it2.hasNext())
|
||||
{
|
||||
if(it2.next() > 0 )
|
||||
if(it2.next() != "")
|
||||
{
|
||||
customElementsDir ++;
|
||||
}
|
||||
@@ -211,7 +211,7 @@ void MachineInfo::send_info_to_debug()
|
||||
QDirIterator it3(QETApp::companyElementsDir().toLatin1(), nameFilters, QDir::Files, QDirIterator::Subdirectories);
|
||||
while (it3.hasNext())
|
||||
{
|
||||
if(it3.next() > 0 )
|
||||
if(it3.next() != "")
|
||||
{
|
||||
companyElementsDir ++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user