diff options
-rwxr-xr-x | bin/syncqt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/syncqt b/bin/syncqt index 306c4df57a..a579cad41d 100755 --- a/bin/syncqt +++ b/bin/syncqt @@ -1180,7 +1180,7 @@ if($check_includes) { } } } elsif ($header_skip_qt_begin_namespace_test == 0 and $line =~ /^QT_BEGIN_NAMESPACE(_[A-Z_]+)?\s*$/) { - $qt_namespace_suffix = $1 // ""; + $qt_namespace_suffix = defined($1) ? $1 : ""; $qt_begin_namespace_found = 1; } elsif ($header_skip_qt_begin_namespace_test == 0 and $line =~ /^QT_END_NAMESPACE$qt_namespace_suffix\s*$/) { $qt_end_namespace_found = 1; |