From 06f1db671ec557fc8b2a32d4444aa8e29720fb78 Mon Sep 17 00:00:00 2001 From: Gaute Lindkvist Date: Wed, 8 Jan 2020 13:33:03 +0100 Subject: [PATCH] Remove unnecessary stylesheet in RiuMainWindowBase --- ApplicationCode/UserInterface/RiuMainWindowBase.cpp | 11 ----------- ApplicationCode/UserInterface/RiuMainWindowBase.h | 3 +-- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/ApplicationCode/UserInterface/RiuMainWindowBase.cpp b/ApplicationCode/UserInterface/RiuMainWindowBase.cpp index 21c00c655d..e0620a9ddb 100644 --- a/ApplicationCode/UserInterface/RiuMainWindowBase.cpp +++ b/ApplicationCode/UserInterface/RiuMainWindowBase.cpp @@ -313,17 +313,6 @@ void RiuMainWindowBase::removeViewerFromMdiArea( QMdiArea* mdiArea, QWidget* vie } } -//-------------------------------------------------------------------------------------------------- -/// -//-------------------------------------------------------------------------------------------------- -caf::UiStyleSheet RiuMainWindowBase::createStyleSheet() -{ - caf::UiStyleSheet styleSheet; - styleSheet.set( "background-color", QColor( Qt::lightGray ).name() ); - styleSheet.set( "border", "1px dashed black" ); - return styleSheet; -} - //-------------------------------------------------------------------------------------------------- /// //-------------------------------------------------------------------------------------------------- diff --git a/ApplicationCode/UserInterface/RiuMainWindowBase.h b/ApplicationCode/UserInterface/RiuMainWindowBase.h index 2907abe6a6..43da2cf7e3 100644 --- a/ApplicationCode/UserInterface/RiuMainWindowBase.h +++ b/ApplicationCode/UserInterface/RiuMainWindowBase.h @@ -85,8 +85,7 @@ public: bool isBlockingViewSelectionOnSubWindowActivated() const; protected: - void removeViewerFromMdiArea( QMdiArea* mdiArea, QWidget* viewer ); - caf::UiStyleSheet createStyleSheet(); + void removeViewerFromMdiArea( QMdiArea* mdiArea, QWidget* viewer ); protected slots: void slotDockWidgetToggleViewActionTriggered();