Enable edit/rename via F2 or double click in various places

This commit is contained in:
Nick Tiskov
2013-07-22 18:39:48 +04:00
parent 13cd42f053
commit 7adf012f9c
8 changed files with 30 additions and 2 deletions

View File

@@ -31,6 +31,7 @@
#ifndef ADDNEWTORRENTDIALOG_H
#define ADDNEWTORRENTDIALOG_H
#include <QShortcut>
#include <QDialog>
#include <QUrl>
#include <libtorrent/torrent_info.hpp>
@@ -86,6 +87,7 @@ private:
boost::intrusive_ptr<libtorrent::torrent_info> m_torrentInfo;
QStringList m_filesPath;
bool m_hasRenamedFile;
QShortcut *editHotkey;
};
#endif // ADDNEWTORRENTDIALOG_H