Merge pull request #1060 from alderz/master
Add a keyboard shortcut to "Add link to torrent" and fix some png sRGB profiles.
Before Width: | Height: | Size: 7 KiB After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 593 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 590 B |
Before Width: | Height: | Size: 3 KiB After Width: | Height: | Size: 426 B |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 522 B |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 443 B |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 495 B |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 359 B |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 538 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 591 B |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 583 B |
|
@ -555,6 +555,7 @@ void MainWindow::fullDiskError(const QTorrentHandle& h, QString msg) const {
|
||||||
void MainWindow::createKeyboardShortcuts() {
|
void MainWindow::createKeyboardShortcuts() {
|
||||||
actionCreate_torrent->setShortcut(QKeySequence(QString::fromUtf8("Ctrl+N")));
|
actionCreate_torrent->setShortcut(QKeySequence(QString::fromUtf8("Ctrl+N")));
|
||||||
actionOpen->setShortcut(QKeySequence(QString::fromUtf8("Ctrl+O")));
|
actionOpen->setShortcut(QKeySequence(QString::fromUtf8("Ctrl+O")));
|
||||||
|
actionDownload_from_URL->setShortcut(QKeySequence(QString::fromUtf8("Ctrl+Shift+O")));
|
||||||
actionExit->setShortcut(QKeySequence(QString::fromUtf8("Ctrl+Q")));
|
actionExit->setShortcut(QKeySequence(QString::fromUtf8("Ctrl+Q")));
|
||||||
switchTransferShortcut = new QShortcut(QKeySequence("Alt+1"), this);
|
switchTransferShortcut = new QShortcut(QKeySequence("Alt+1"), this);
|
||||||
connect(switchTransferShortcut, SIGNAL(activated()), this, SLOT(displayTransferTab()));
|
connect(switchTransferShortcut, SIGNAL(activated()), this, SLOT(displayTransferTab()));
|
||||||
|
|