summaryrefslogtreecommitdiffstats
path: root/src/pyscanner.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/pyscanner.l')
-rw-r--r--src/pyscanner.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pyscanner.l b/src/pyscanner.l
index 7c571d6..93110cb 100644
--- a/src/pyscanner.l
+++ b/src/pyscanner.l
@@ -1565,7 +1565,7 @@ static void parseMain(const char *fileName,const char *fileBuf,Entry *rt)
QFileInfo fi(fileName);
g_moduleScope = findPackageScope(fileName);
- QString baseName=fi.baseName();
+ QCString baseName=fi.baseName().utf8();
if (baseName!="__init__") // package initializer file is not a package itself
{
if (!g_moduleScope.isEmpty())