-rw-r--r-- | library/qpedecoration_qws.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/library/qpedecoration_qws.cpp b/library/qpedecoration_qws.cpp index 708dd23..214c721 100644 --- a/library/qpedecoration_qws.cpp +++ b/library/qpedecoration_qws.cpp | |||
@@ -501,6 +501,8 @@ QPEDecoration::QPEDecoration() | |||
501 | QStringList helpPath = Global::helpPath(); | 501 | QStringList helpPath = Global::helpPath(); |
502 | helpExists = FALSE; | 502 | helpExists = FALSE; |
503 | for (QStringList::ConstIterator it=helpPath.begin(); it!=helpPath.end() && !helpExists; ++it) | 503 | for (QStringList::ConstIterator it=helpPath.begin(); it!=helpPath.end() && !helpExists; ++it) { |
504 | helpExists = QFile::exists( *it + "/" + helpFile ); | 504 | helpExists = QFile::exists( *it + "/" + helpFile ); |
505 | qDebug ( "Checking %s/%s for help: %d", (*it).latin1(), helpFile.latin1(),helpExists); | ||
506 | } | ||
505 | qpeManager = new QPEManager( this ); | 507 | qpeManager = new QPEManager( this ); |
506 | } | 508 | } |
@@ -531,6 +533,7 @@ QPEDecoration::QPEDecoration( const QString &plugin ) | |||
531 | QStringList helpPath = Global::helpPath(); | 533 | QStringList helpPath = Global::helpPath(); |
532 | helpExists = FALSE; | 534 | helpExists = FALSE; |
533 | for (QStringList::ConstIterator it=helpPath.begin(); it!=helpPath.end() && !helpExists; ++it) | 535 | for (QStringList::ConstIterator it=helpPath.begin(); it!=helpPath.end() && !helpExists; ++it) { |
534 | helpExists = QFile::exists( *it + "/" + helpFile ); | 536 | helpExists = QFile::exists( *it + "/" + helpFile ); |
537 | qDebug ( "Checking %s/%s for help: %d", (*it).latin1(), helpFile.latin1(),helpExists); } | ||
535 | qpeManager = new QPEManager( this ); | 538 | qpeManager = new QPEManager( this ); |
536 | } | 539 | } |