Build 0.9.6

This commit is contained in:
DavidXanatos 2021-09-12 07:49:06 +02:00
parent bf6726c0db
commit 6e9574e2be
4 changed files with 14 additions and 11 deletions

View File

@ -429,7 +429,8 @@ QString CSbieProcess::ImageTypeToStr(quint32 type)
FLASH_PLAYER_SANDBOX, FLASH_PLAYER_SANDBOX,
PLUGIN_CONTAINER, PLUGIN_CONTAINER,
OTHER_WEB_BROWSER, OTHER_WEB_BROWSER,
OTHER_MAIL_CLIENT OTHER_MAIL_CLIENT,
DLL_IMAGE_MOZILLA_THUNDERBIRD
}; };
switch (type) switch (type)
@ -465,6 +466,7 @@ QString CSbieProcess::ImageTypeToStr(quint32 type)
case PLUGIN_CONTAINER: return tr("Firefox Plugin Container"); case PLUGIN_CONTAINER: return tr("Firefox Plugin Container");
case OTHER_WEB_BROWSER: return tr("Generic Web Browser"); case OTHER_WEB_BROWSER: return tr("Generic Web Browser");
case OTHER_MAIL_CLIENT: return tr("Generic Mail Client"); case OTHER_MAIL_CLIENT: return tr("Generic Mail Client");
case DLL_IMAGE_MOZILLA_THUNDERBIRD: return tr("Thunderbird");
default: return tr(""); default: return tr("");
} }
} }

View File

@ -46,7 +46,6 @@ CSbieView::CSbieView(QWidget* parent) : CPanelView(parent)
m_pSbieTree->setSelectionMode(QAbstractItemView::ExtendedSelection); m_pSbieTree->setSelectionMode(QAbstractItemView::ExtendedSelection);
m_pSbieTree->setSortingEnabled(true); m_pSbieTree->setSortingEnabled(true);
//m_pSbieTree->setSortingEnabled(false); //m_pSbieTree->setSortingEnabled(false);
m_pSbieTree->setUniformRowHeights(true);
//m_pSbieTree->header()->setSortIndicatorShown(true); //m_pSbieTree->header()->setSortIndicatorShown(true);
//m_pSbieTree->header()->setSectionsClickable(true); //m_pSbieTree->header()->setSectionsClickable(true);
connect(m_pSbieTree->header(), SIGNAL(sectionClicked(int)), this, SLOT(OnCustomSortByColumn(int))); connect(m_pSbieTree->header(), SIGNAL(sectionClicked(int)), this, SLOT(OnCustomSortByColumn(int)));

View File

@ -32,10 +32,11 @@ CRecoveryWindow::CRecoveryWindow(const CSandBoxPtr& pBox, QWidget *parent)
this->setWindowFlag(Qt::WindowStaysOnTopHint, bAlwaysOnTop); this->setWindowFlag(Qt::WindowStaysOnTopHint, bAlwaysOnTop);
if (!bAlwaysOnTop) { if (!bAlwaysOnTop) {
SetWindowPos((HWND)this->winId(), HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE); HWND hWnd = (HWND)this->winId();
QTimer::singleShot(100, this, [this]() { SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE);
SetWindowPos((HWND)this->winId(), HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE); QTimer::singleShot(100, this, [hWnd]() {
}); SetWindowPos(hWnd, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE);
});
} }
ui.setupUi(this); ui.setupUi(this);

View File

@ -33,10 +33,11 @@ CSelectBoxWindow::CSelectBoxWindow(const QStringList& Commands, const QString& B
this->setWindowFlag(Qt::WindowStaysOnTopHint, bAlwaysOnTop); this->setWindowFlag(Qt::WindowStaysOnTopHint, bAlwaysOnTop);
if (!bAlwaysOnTop) { if (!bAlwaysOnTop) {
SetWindowPos((HWND)this->winId(), HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE); HWND hWnd = (HWND)this->winId();
QTimer::singleShot(100, this, [this]() { SetWindowPos(hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE);
SetWindowPos((HWND)this->winId(), HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE); QTimer::singleShot(100, this, [hWnd]() {
}); SetWindowPos(hWnd, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE);
});
} }
ui.setupUi(this); ui.setupUi(this);