diff --git a/demo/MainWindow.cpp b/demo/MainWindow.cpp index 8a028e5..8275456 100644 --- a/demo/MainWindow.cpp +++ b/demo/MainWindow.cpp @@ -650,7 +650,7 @@ CMainWindow::CMainWindow(QWidget *parent) : // uncomment the following line to enable focus highlighting of the dock // widget that has the focus - //CDockManager::setConfigFlag(CDockManager::FocusHighlighting, true); + CDockManager::setConfigFlag(CDockManager::FocusHighlighting, true); // uncomment if you would like to enable dock widget auto hiding CDockManager::setConfigFlag(CDockManager::DefaultAutoHideConfig, true); diff --git a/src/DockManager.cpp b/src/DockManager.cpp index d349b1a..c61c426 100644 --- a/src/DockManager.cpp +++ b/src/DockManager.cpp @@ -192,7 +192,7 @@ void DockManagerPrivate::loadStylesheet() QString Result; QString FileName = ":ads/stylesheets/"; FileName += CDockManager::testConfigFlag(CDockManager::FocusHighlighting) - ? "focus_highlighting" : "default"; + ? "visual_studio_light" : "default"; #ifdef Q_OS_LINUX FileName += "_linux"; #endif diff --git a/src/ads.qrc b/src/ads.qrc index 48ff5cc..9a54041 100644 --- a/src/ads.qrc +++ b/src/ads.qrc @@ -17,5 +17,6 @@ images/restore-button-focused.svg images/vs-pin-button.svg images/vs-pin-button-pinned.svg + stylesheets/visual_studio_light.css