diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-08-27 21:50:23 (GMT) |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2009-08-31 17:32:18 (GMT) |
commit | 627ddefd4f2b27ff2f5127bf20356bb302e6ad6d (patch) | |
tree | 70748b272931378a3b5ca815efe72388580c6d7a /src | |
parent | 3b65bb32fda7e34373b64f416ea92a3fa6eb266c (diff) | |
download | Qt-627ddefd4f2b27ff2f5127bf20356bb302e6ad6d.zip Qt-627ddefd4f2b27ff2f5127bf20356bb302e6ad6d.tar.gz Qt-627ddefd4f2b27ff2f5127bf20356bb302e6ad6d.tar.bz2 |
Allow setting screen size with connect options
Reviewed-by: Donald Carr <donald.carr@nokia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp index 8be0355..9c509d5 100644 --- a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp +++ b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp @@ -1227,6 +1227,8 @@ bool QDirectFBScreen::connect(const QString &displaySpec) "Unable to get screen size!", result); return false; } + ::setIntOption(displayArgs, QLatin1String("width"), &w); + ::setIntOption(displayArgs, QLatin1String("height"), &h); dw = w; dh = h; |