Hi,<br><br>I wrote a program which uses QFileDialog to open file. The code is:<br><br><i>dir = "."<br>fname = str(QFileDialog.getOpenFileName(self, "Gui - Choose File", dir))</i><br><br>When I run the program, there is warning message:<br>
<br><b>KGlobale::Locale::Warning your global KLocal is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work.</b><br>
<br>I don't know why this warning happens. Any suggestions welcome.<br><br>Thanks!<br>