summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-09-09 23:55:11 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-09-09 23:55:43 (GMT)
commit9fe43c999d3d9b21836345522bb67bab38e661af (patch)
treebb383aa79974de3ac90339672718eca32a8563b6 /src/plugins
parentad1db6e7046cc5bc1060c476abdfd92366f68edc (diff)
downloadQt-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.cpp2
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)) {