diff options
author | Franklin Cooper Jr | 2011-10-21 17:19:09 -0500 |
---|---|---|
committer | Franklin Cooper Jr | 2011-10-21 17:19:09 -0500 |
commit | 274185aa2fc7e086ed18abe64fc4a55a696e33dc (patch) | |
tree | e26c68bc7ad7a20c6bb1c48ce7961bd3ec76975c /main.cpp | |
parent | 96c3ac6e10a1e0437d0bf2c3b27e266600c9ada5 (diff) | |
download | matrix_browser-274185aa2fc7e086ed18abe64fc4a55a696e33dc.tar.gz matrix_browser-274185aa2fc7e086ed18abe64fc4a55a696e33dc.tar.xz matrix_browser-274185aa2fc7e086ed18abe64fc4a55a696e33dc.zip |
Changed from WebView to QWebView which is the valid QT class
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,7 +4,7 @@ | |||
4 | int main(int argc, char **argv) | 4 | int main(int argc, char **argv) |
5 | { | 5 | { |
6 | QApplication app(argc, argv); | 6 | QApplication app(argc, argv); |
7 | WebView view; | 7 | QWebView view; |
8 | view.load(QUrl("http://localhost:8080")); | 8 | view.load(QUrl("http://localhost:8080")); |
9 | view.setContextMenuPolicy(Qt::NoContextMenu); | 9 | view.setContextMenuPolicy(Qt::NoContextMenu); |
10 | view.setWindowFlags(Qt::FramelessWindowHint); | 10 | view.setWindowFlags(Qt::FramelessWindowHint); |