summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
Diffstat (limited to 'libexec')
-rwxr-xr-xlibexec/syncqt.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/syncqt.pl b/libexec/syncqt.pl
index f9ba844d1b..acdc469ba2 100755
--- a/libexec/syncqt.pl
+++ b/libexec/syncqt.pl
@@ -336,7 +336,7 @@ sub check_header {
return if ($ignore_for_include_check{$header});
if ($public_header) {
$header_skip_qt_begin_namespace_test = $header &&
- ($ignore_for_qt_begin_namespace_check{$header} || $header =~ /qt\w+global.h/);
+ ($ignore_for_qt_begin_namespace_check{$header} || $header =~ m,(^|/)qt\w+global\.h$,);
}
local $/ = "\x0a";