|
|
|
@ -138,7 +138,7 @@ AddNewTorrentDialog::AddNewTorrentDialog(const BitTorrent::AddTorrentParams &inP
@@ -138,7 +138,7 @@ AddNewTorrentDialog::AddNewTorrentDialog(const BitTorrent::AddTorrentParams &inP
|
|
|
|
|
// Signal / slots
|
|
|
|
|
connect(ui->adv_button, SIGNAL(clicked(bool)), SLOT(showAdvancedSettings(bool))); |
|
|
|
|
connect(ui->doNotDeleteTorrentCheckBox, SIGNAL(clicked(bool)), SLOT(doNotDeleteTorrentClicked(bool))); |
|
|
|
|
editHotkey = new QShortcut(Qt::Key_F2, ui->contentTreeView, 0, 0, Qt::WidgetShortcut); |
|
|
|
|
QShortcut *editHotkey = new QShortcut(Qt::Key_F2, ui->contentTreeView, 0, 0, Qt::WidgetShortcut); |
|
|
|
|
connect(editHotkey, SIGNAL(activated()), SLOT(renameSelectedFile())); |
|
|
|
|
connect(ui->contentTreeView, SIGNAL(doubleClicked(QModelIndex)), SLOT(renameSelectedFile())); |
|
|
|
|
|
|
|
|
@ -151,7 +151,6 @@ AddNewTorrentDialog::~AddNewTorrentDialog()
@@ -151,7 +151,6 @@ AddNewTorrentDialog::~AddNewTorrentDialog()
|
|
|
|
|
delete ui; |
|
|
|
|
if (m_contentModel) |
|
|
|
|
delete m_contentModel; |
|
|
|
|
delete editHotkey; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
bool AddNewTorrentDialog::isEnabled() |
|
|
|
|