| 400 | |
| 401 | |
| 402 | bool projectFileExists( const QUrl& u ) |
| 403 | { |
| 404 | if( u.isLocalFile() ) |
| 405 | { |
| 406 | return QFileInfo::exists( u.toLocalFile() ); |
| 407 | } else |
| 408 | { |
| 409 | auto statJob = KIO::stat(u, KIO::StatJob::DestinationSide, KIO::StatNoDetails, KIO::HideProgressInfo); |
| 410 | KJobWidgets::setWindow(statJob, Core::self()->uiControllerInternal()->activeMainWindow()); |
| 411 | return statJob->exec(); |
| 412 | } |
| 413 | } |
| 414 | |
| 415 | bool equalProjectFile( const QString& configPath, OpenProjectDialog* dlg ) |
| 416 | { |
no test coverage detected