From ae7ac6a017bce310a160bb9152062635fdc72188 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 29 Apr 2009 10:50:22 +0200 Subject: Some fixes and warning on webview createWindow --- src/mainwindow.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 56ae108e..87129528 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -152,6 +152,8 @@ MainWindow::MainWindow() // setting up toolbars to NOT have context menu enabled setContextMenuPolicy(Qt::DefaultContextMenu); + + QTimer::singleShot(0, this, SLOT(postLaunch())); } @@ -161,6 +163,11 @@ MainWindow::~MainWindow() } +void MainWindow::postLaunch() +{ +} + + QSize MainWindow::sizeHint() const { QRect desktopRect = QApplication::desktop()->screenGeometry(); -- cgit v1.2.1