Commit 292cfce0 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Fix change selection dialog.



Remove context help button and prevent it from showing up at 0,0
by setting a minimum size only.

Change-Id: I41d019b0074a47a20ecacd557f1ea05235dda995
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent 55717e11
......@@ -60,6 +60,7 @@ ChangeSelectionDialog::ChangeSelectionDialog(const QString &workingDirectory, QW
, m_detailsText(new QPlainTextEdit(this))
, m_command(NoCommand)
{
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
bool ok;
m_gitBinaryPath = GitPlugin::instance()->gitClient()->gitBinaryPath(&ok);
if (!ok)
......@@ -89,8 +90,7 @@ ChangeSelectionDialog::ChangeSelectionDialog(const QString &workingDirectory, QW
m_changeNumberEdit->selectAll();
setWindowTitle(tr("Select a Git Commit"));
setGeometry(0, 0, 550, 350);
adjustPosition(parent);
setMinimumSize(QSize(550, 350));
m_gitEnvironment = GitPlugin::instance()->gitClient()->processEnvironment();
connect(m_changeNumberEdit, SIGNAL(textChanged(QString)),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment