From d0c8dc61ee3af92dd2358bcdb9c4fa3181591bcb Mon Sep 17 00:00:00 2001 From: GiWoong Kim Date: Wed, 13 Jan 2016 20:15:51 +0900 Subject: [PATCH] gui: delete meaningless lines QWidget's showEvent function is empty. Change-Id: I55feb0a06e7e3aa374ec62667f62009d6d9c4c2c Signed-off-by: GiWoong Kim --- tizen/src/ui/controller/dockingcontroller.cpp | 2 -- tizen/src/ui/controller/floatingcontroller.cpp | 2 -- tizen/src/ui/mainwindow.cpp | 1 - 3 files changed, 5 deletions(-) diff --git a/tizen/src/ui/controller/dockingcontroller.cpp b/tizen/src/ui/controller/dockingcontroller.cpp index d50cafbeb8..ec6030a5e6 100644 --- a/tizen/src/ui/controller/dockingcontroller.cpp +++ b/tizen/src/ui/controller/dockingcontroller.cpp @@ -91,8 +91,6 @@ void DockingController::showEvent(QShowEvent *event) if (menu != NULL) { menu->setChecked(true); } - - QWidget::showEvent(event); } /* override */ diff --git a/tizen/src/ui/controller/floatingcontroller.cpp b/tizen/src/ui/controller/floatingcontroller.cpp index f0c076ce9d..0d6eab0bd5 100644 --- a/tizen/src/ui/controller/floatingcontroller.cpp +++ b/tizen/src/ui/controller/floatingcontroller.cpp @@ -72,8 +72,6 @@ void FloatingController::showEvent(QShowEvent *event) } else { setMask(QBitmap::fromImage(baseImage->createAlphaMask())); } - - QWidget::showEvent(event); } /* override */ diff --git a/tizen/src/ui/mainwindow.cpp b/tizen/src/ui/mainwindow.cpp index aea516a613..1035ebf770 100644 --- a/tizen/src/ui/mainwindow.cpp +++ b/tizen/src/ui/mainwindow.cpp @@ -380,7 +380,6 @@ void MainWindow::showEvent(QShowEvent *event) resize(uiInfo->getUiSize()); - QWidget::showEvent(event); setFixedSize(size()); } -- 2.34.1