diff options
author | Jonathan Bauer | 2012-02-03 17:09:33 +0100 |
---|---|---|
committer | Jonathan Bauer | 2012-02-03 17:09:33 +0100 |
commit | 45af1710d08d9896468390a21f4e0a199c7573e5 (patch) | |
tree | 1507db0ad3b97fa350175238e9edd7fa997ac1d2 /src/fbgui/agui.cpp | |
parent | sysInfo gets interface name for MAC adress from networkdiscovery (diff) | |
download | fbgui-45af1710d08d9896468390a21f4e0a199c7573e5.tar.gz fbgui-45af1710d08d9896468390a21f4e0a199c7573e5.tar.xz fbgui-45af1710d08d9896468390a21f4e0a199c7573e5.zip |
minor changes
Diffstat (limited to 'src/fbgui/agui.cpp')
-rw-r--r-- | src/fbgui/agui.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/fbgui/agui.cpp b/src/fbgui/agui.cpp index 7759800..3f2fd68 100644 --- a/src/fbgui/agui.cpp +++ b/src/fbgui/agui.cpp @@ -40,13 +40,11 @@ agui::~agui() { void agui::setupLayout() { // setup layout of the gui: debug split or browser _webView = new QWebView(this); - _webView->setContextMenuPolicy(Qt::NoContextMenu); // if this does not work try Qt::CustomContextMenu + //_webView->setContextMenuPolicy(Qt::NoContextMenu); // if this does not work try Qt::CustomContextMenu _webView->page()->mainFrame()->setScrollBarPolicy(Qt::Vertical, Qt::ScrollBarAlwaysOff); - LOG4CXX_DEBUG(aguiCoreLogger, "Debug Mode: " << debugMode); if (debugMode > -1) { // split main window in browser & debug console - //createDebugConsole(); - console* debugConsole = new console(this); + Console* debugConsole = new Console(this); QSplitter* _splitter = new QSplitter(Qt::Vertical, this); _splitter->addWidget(_webView); _splitter->addWidget(debugConsole); |