Skip to content

Commit c21b171

Browse files
authored
it2.fileInfo().isFile()
1 parent 12f43f6 commit c21b171

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linuxdeployqt/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ int main(int argc, char **argv)
117117
QDirIterator it2(directoryToBeSearched, QDirIterator::Subdirectories);
118118
while (it2.hasNext()) {
119119
it2.next();
120-
if((it2.fileName() == desktopExecEntry) && (it.fileInfo().isFile()) && (it2.fileInfo().isExecutable())){
120+
if((it2.fileName() == desktopExecEntry) && (it2.fileInfo().isFile()) && (it2.fileInfo().isExecutable())){
121121
qDebug() << "Found binary from desktop file:" << it2.fileInfo().canonicalFilePath();
122122
appBinaryPath = it2.fileInfo().absoluteFilePath();
123123
break;

0 commit comments

Comments
 (0)