mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +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)
|
||||
{
|
||||
|
||||
setWindowModality(Qt::WindowModal);
|
||||
}
|
||||
|
||||
void CPluginConfigWindow::showEvent(QShowEvent *event)
|
||||
|
||||
@@ -21,6 +21,8 @@ namespace BlackGui
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
setWindowModality(Qt::WindowModal);
|
||||
|
||||
QFont font = ui->lbl_PluginName->font();
|
||||
font.setPointSize(font.pointSize() + 2);
|
||||
ui->lbl_PluginName->setFont(font);
|
||||
|
||||
Reference in New Issue
Block a user