mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Ref T111, hide "?" in details window
This commit is contained in:
committed by
Mathew Sutcliffe
parent
1387573e5b
commit
f3d75fde53
@@ -21,13 +21,12 @@
|
||||
|
||||
namespace BlackGui
|
||||
{
|
||||
|
||||
CPluginDetailsWindow::CPluginDetailsWindow(QWidget *parent) :
|
||||
QWidget(parent, Qt::Dialog),
|
||||
ui(new Ui::CPluginDetailsWindow)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
this->setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
setWindowModality(Qt::WindowModal);
|
||||
|
||||
QFont font = ui->lbl_PluginName->font();
|
||||
@@ -38,9 +37,7 @@ namespace BlackGui
|
||||
}
|
||||
|
||||
CPluginDetailsWindow::~CPluginDetailsWindow()
|
||||
{
|
||||
|
||||
}
|
||||
{ }
|
||||
|
||||
void CPluginDetailsWindow::setPluginName(const QString &name)
|
||||
{
|
||||
@@ -73,8 +70,6 @@ namespace BlackGui
|
||||
QDesktopWidget().screenGeometry(qApp->activeWindow())
|
||||
)
|
||||
);
|
||||
|
||||
Q_UNUSED(event);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -25,7 +25,6 @@ namespace Ui { class CPluginDetailsWindow; }
|
||||
|
||||
namespace BlackGui
|
||||
{
|
||||
|
||||
/*!
|
||||
* A window that shows plugin details.
|
||||
*/
|
||||
@@ -35,7 +34,7 @@ namespace BlackGui
|
||||
|
||||
public:
|
||||
//! Ctor
|
||||
explicit CPluginDetailsWindow(QWidget *parent = 0);
|
||||
explicit CPluginDetailsWindow(QWidget *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
virtual ~CPluginDetailsWindow();
|
||||
@@ -61,4 +60,4 @@ namespace BlackGui
|
||||
};
|
||||
} // namespace
|
||||
|
||||
#endif // BLACKGUI_PLUGINDETAILSWINDOW_H
|
||||
#endif // guard
|
||||
|
||||
Reference in New Issue
Block a user