Ref T111, hide "?" in details window

This commit is contained in:
Klaus Basan
2017-08-06 13:45:04 +02:00
committed by Mathew Sutcliffe
parent 1387573e5b
commit f3d75fde53
2 changed files with 4 additions and 10 deletions

View File

@@ -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);
}
}

View File

@@ -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