<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-07-03 21:13 GMT+06:00 Rémi Denis-Courmont <span dir="ltr"><<a href="mailto:remi@remlab.net" target="_blank">remi@remlab.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">Le 2015-07-03 18:04, Francois Cartegnie a écrit :<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Le 03/07/2015 14:45, Hannes Domani a écrit :<br>
<br>
Hi,<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp<br>
index 6b88b5e..66b0994 100644<br>
--- a/modules/gui/qt4/components/open_panels.cpp<br>
+++ b/modules/gui/qt4/components/open_panels.cpp<br>
@@ -386,13 +386,15 @@ void DiscOpenPanel::onFocus()<br>
wchar_t psz_name[512] = L"";<br>
GetVolumeInformationW( drive, psz_name, 511, NULL, NULL, NULL, NULL, 0 );<br>
<br>
- QString displayName = FromWide( drive );<br>
+ char *psz_drive = FromWide( drive );<br>
+ QString displayName = psz_drive;<br>
</blockquote>
<br>
Someone here would say auto casting is evil.<br>
</blockquote>
<br></span>
There should be a wchar_t to QString conversion function anyway, no?<span class=""><font color="#888888"><br></font></span></blockquote><div><br>QString::fromWCharArray: <a href="http://doc.qt.io/qt-5/qstring.html#fromWCharArray">http://doc.qt.io/qt-5/qstring.html#fromWCharArray</a><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=""><font color="#888888">
<br>
-- <br>
Rémi Denis-Courmont<br>
<a href="http://www.remlab.net/" rel="noreferrer" target="_blank">http://www.remlab.net/</a></font></span><div class=""><div class="h5"><br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="https://mailman.videolan.org/listinfo/vlc-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a><br>
</div></div></blockquote></div><br></div></div>