From c2f38e084023f001746862641c8fbeea85e3f2d7 Mon Sep 17 00:00:00 2001 From: DavidXanatos Date: Sat, 10 Jul 2021 13:39:57 +0200 Subject: [PATCH] --- CHANGELOG.md | 3 ++- SandboxiePlus/SandMan/Views/SbieView.cpp | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e57165a2..9546d1b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## [0.8.7 / 5.50.7] - 2021-07-10 ### Added -- added option to always auto pick the DefautlBox sandbox [959](https://github.com/sandboxie-plus/Sandboxie/issues/959) +- added option to always auto pick the DefautlBox sandbox [#959](https://github.com/sandboxie-plus/Sandboxie/issues/959) -- when this option is enabled the normal behavioure with a box selection dialog can be achived holding down CTRL - added option to hide boxed form the run in box dialog -- usefull to avoidl listing for example insecure compatybility test boxes @@ -16,6 +16,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - changed default terminate all boxed processes key from Ctrl+Break to Ctrl+Alt+Break [#974](https://github.com/sandboxie-plus/Sandboxie/issues/974) - start.exe does no longer link in all that unused MFC code reduced file size form over 2.5MB to below 250KB - updated the main sandman and tray icon [#963](https://github.com/sandboxie-plus/Sandboxie/issues/963) +- improved the bov view tree style ### Fixed - added additional delay and retryes to kmdutill.exe to mitigate issues when unloading the driver [#968](https://github.com/sandboxie-plus/Sandboxie/issues/968) diff --git a/SandboxiePlus/SandMan/Views/SbieView.cpp b/SandboxiePlus/SandMan/Views/SbieView.cpp index 1b0ef191..1cf6e2db 100644 --- a/SandboxiePlus/SandMan/Views/SbieView.cpp +++ b/SandboxiePlus/SandMan/Views/SbieView.cpp @@ -32,6 +32,7 @@ CSbieView::CSbieView(QWidget* parent) : CPanelView(parent) m_pSortProxy->setSourceModel(m_pSbieModel); m_pSortProxy->setDynamicSortFilter(true); + QStyle* pStyle = QStyleFactory::create("windows"); // SbieTree m_pSbieTree = new QTreeViewEx(); @@ -44,6 +45,8 @@ CSbieView::CSbieView(QWidget* parent) : CPanelView(parent) m_pSbieTree->setSelectionMode(QAbstractItemView::ExtendedSelection); m_pSbieTree->setSortingEnabled(true); + m_pSbieTree->setStyle(pStyle); + m_pSbieTree->setContextMenuPolicy(Qt::CustomContextMenu); connect(m_pSbieTree, SIGNAL(customContextMenuRequested(const QPoint&)), this, SLOT(OnMenu(const QPoint &))); connect(m_pSbieTree, SIGNAL(doubleClicked(const QModelIndex&)), this, SLOT(OnDoubleClicked(const QModelIndex&)));