mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 02:06:08 +08:00
refs #511 Fix window modality
Both CPluginDetailsWindow and CPluginConfigWindow have window modality set.
This commit is contained in:
@@ -7,7 +7,7 @@ namespace BlackGui {
|
|||||||
|
|
||||||
CPluginConfigWindow::CPluginConfigWindow(QWidget *parent) : QWidget(parent, Qt::Window)
|
CPluginConfigWindow::CPluginConfigWindow(QWidget *parent) : QWidget(parent, Qt::Window)
|
||||||
{
|
{
|
||||||
|
setWindowModality(Qt::WindowModal);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CPluginConfigWindow::showEvent(QShowEvent *event)
|
void CPluginConfigWindow::showEvent(QShowEvent *event)
|
||||||
|
|||||||
@@ -21,6 +21,8 @@ namespace BlackGui
|
|||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
|
||||||
|
setWindowModality(Qt::WindowModal);
|
||||||
|
|
||||||
QFont font = ui->lbl_PluginName->font();
|
QFont font = ui->lbl_PluginName->font();
|
||||||
font.setPointSize(font.pointSize() + 2);
|
font.setPointSize(font.pointSize() + 2);
|
||||||
ui->lbl_PluginName->setFont(font);
|
ui->lbl_PluginName->setFont(font);
|
||||||
|
|||||||
Reference in New Issue
Block a user