Allow to Open files from the properties pane by pressing "Enter"

Allow to open only one file at a time and ignore keypresses when
multiple items are selected.
This commit is contained in:
Gabriele
2015-04-16 18:36:53 +02:00
parent 2c5edf8652
commit 41fa59f164
2 changed files with 12 additions and 0 deletions

View File

@@ -92,6 +92,7 @@ protected slots:
void showPiecesDownloaded(bool show);
void showPiecesAvailability(bool show);
void renameSelectedFile();
void openSelectedFile();
public slots:
void setVisibility(bool visible);
@@ -126,6 +127,7 @@ private:
QShortcut *editHotkeyFile;
QShortcut *editHotkeyWeb;
QShortcut *deleteHotkeyWeb;
QShortcut *openHotkeyFile;
private slots:
void filterText(const QString& filter);