diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-09-09 23:55:11 (GMT) |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2009-09-09 23:55:43 (GMT) |
commit | 9fe43c999d3d9b21836345522bb67bab38e661af (patch) | |
tree | bb383aa79974de3ac90339672718eca32a8563b6 /src/plugins | |
parent | ad1db6e7046cc5bc1060c476abdfd92366f68edc (diff) | |
download | Qt-9fe43c999d3d9b21836345522bb67bab38e661af.zip Qt-9fe43c999d3d9b21836345522bb67bab38e661af.tar.gz Qt-9fe43c999d3d9b21836345522bb67bab38e661af.tar.bz2 |
Use fromLatin1() in QDirectFBScreen::connect()
Avoid warning when building DirectFB as part of Qt.
Reviewed-by: TrustMe
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp index c2ae2fb..b324189 100644 --- a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp +++ b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp @@ -1202,7 +1202,7 @@ bool QDirectFBScreen::connect(const QString &displaySpec) "Unable to get screen!", result); return false; } - const QString qws_size = qgetenv("QWS_SIZE"); + const QString qws_size = QString::fromLatin1(qgetenv("QWS_SIZE")); if (!qws_size.isEmpty()) { QRegExp rx(QLatin1String("(\\d+)x(\\d+)")); if (!rx.exactMatch(qws_size)) { |