GerritDialog: Fix keyboard activation

Open the change in a browser on Return/Enter

Change-Id: I6ed6d832e3bebf625adb3765415929cc0670d4e4
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Daniel Teske
2014-04-09 16:47:18 +02:00
parent c17ddb7766
commit 094a309a10
2 changed files with 10 additions and 6 deletions

View File

@@ -48,6 +48,8 @@ class QDialogButtonBox;
class QTextBrowser;
QT_END_NAMESPACE
namespace Utils { class TreeView; }
namespace Gerrit {
namespace Internal {
class GerritParameters;
@@ -93,7 +95,7 @@ public slots:
private slots:
void slotCurrentChanged();
void slotDoubleClicked(const QModelIndex &);
void slotActivated(const QModelIndex &);
void slotRefreshStateChanged(bool);
void slotFetchDisplay();
void slotFetchCherryPick();
@@ -111,7 +113,7 @@ private:
QSortFilterProxyModel *m_filterModel;
GerritModel *m_model;
QStringListModel *m_queryModel;
QTreeView *m_treeView;
Utils::TreeView *m_treeView;
QTextBrowser *m_detailsBrowser;
QueryValidatingLineEdit *m_queryLineEdit;
Utils::FancyLineEdit *m_filterLineEdit;