Eugene Shalygin
db35bb54e1
Make BitTorrent::TorrentState strongly-typed enum
...
This is needed to forward declare this type and pass it by value.
Conversion from/to QVariant are hanled via Q_DECLARE_METATYPE, while
TorrentState::toString() function was used in webui only and as such is
moved there.
7 years ago
Tim Delaney
19bb6f5fe0
Follow project coding style. Issue #2192 .
...
--HG--
branch : magao-dev
7 years ago
Chocobo1
aab752dd2e
Fix delete key has no effect due to "Ambiguous shortcut overload"
...
We want to show the accelerator key in the menu but without hitting
the ambiguous overload error.
Fixup of 1378245a63
7 years ago
sledgehammer999
aca7a851bb
Optimize SVGs.
...
Used svgo with commands --pretty --indent=2 --multipass.
7 years ago
sledgehammer999
e9caefdfce
Optimize PNGs.
...
Using PNGGauntlet.
7 years ago
sledgehammer999
16ac20b594
Remove unused image. Possibly leftover from dropping Qt4.
7 years ago
sledgehammer999
5d3b9d2f22
Drop OS/2 support.
7 years ago
sledgehammer999
d93d0ab19e
Show new paths in native form.
7 years ago
Chocobo1
5185eeb7ef
Die gracefully when failed to initialize web server with qbt-nox
7 years ago
thalieht
0717f0d60c
Save ratio limits as int instead of string
7 years ago
thalieht
525fdd6c2b
Coding style, use nullptr and other minor things
7 years ago
thalieht
f27e75e8fa
Properly pre-select the selected torrent's current ratio limiting options in UpDownRatioDlg dialogs. Fixes #7352
7 years ago
Nick Korotysh
1378245a63
show delete accelerator key in menu. closes #7508
7 years ago
Matthew Fioravante
05c92e652c
Report TCPServer errorString() if webui fails to listen to port
7 years ago
Chocobo1
b3207b8144
Set QTextOption::NoWrap property in "Download from URLs" dialog
...
This makes it easier to put each magnet link on its own line
7 years ago
Nick Korotysh
4c8dd0ca9d
allow search plugins sorting. closes #7526
7 years ago
dzmat
3d932b1cce
transferlistwidget class members names clarification
7 years ago
Chocobo1
2d12c126eb
Fix "Time active" field in transfer list
...
The "Time active" field was broken, displaying nothing when in
downloading state.
Also change type to int to match the return
types of TorrentHandle::activeTime() & TorrentHandle::seedingTime()
7 years ago
Vladimir Golovnev (Glassez)
3ec992474d
Implement TorrentCategoryDialog class
7 years ago
sledgehammer999
c285de87d4
Don't use margins in FileSystemPathEdit widgets.
...
Introduced in 30081e0
.
7 years ago
Chocobo1
058062d586
Show torrent name in "add new torrent" dialog on merging trackers
7 years ago
silver
3b4fd35dde
Persist size and treeview header state in preview dialog
...
- renamed variable m_headerState
- renamed PreviewSelect class to PreviewSelectDialog
- renamed previewselect files to previewselectdialog
7 years ago
silver
2a6bd5de35
Options dialog save windows state in destructor
7 years ago
silver
64e539fcfb
Center Options dialog when showed
7 years ago
silver
ef63202be2
Follow project coding style. Issue #2192 .
7 years ago
Chocobo1
62493c672d
Fix last activity calculation. Closes #7461
...
`time_since_upload` & `time_since_download` can be -1, so filter them out
7 years ago
Vladimir Golovnev (Glassez)
8c58a69be6
Use Qt5 connect() style in CategoryFilterWidget
7 years ago
Chocobo1
e3da17caa8
Update qtsingleapplication
...
To upstream version a8dda66d7738cde9042b87db27993f710ae3eeeb
7 years ago
Chocobo1
c5ddbcfb5b
WebAPI: fix addPaused wrong default behavior
...
Add helper function
Sort include header
7 years ago
Chocobo1
72b0ba36ae
Refactor
...
Merge statements
Use case-insensitive contains()
Add const
Use value(), this avoids inserting empty values.
Use range based for loop
7 years ago
Chocobo1
b107c0671d
WebAPI: fix root_folder default behavior
...
Bug was introduced in
6b33db3ae3
7 years ago
sledgehammer999
8f16388915
Better reporting of success/failure of torrent and file deletion.
7 years ago
Chocobo1
d143929454
Use smaller data type for TriStateBool
7 years ago
Chocobo1
45a0c5558a
Add comboBox for selecting BitTorrent protocol. Closes #6316 .
...
Use unicode string C_UTP in place of "uTP"
7 years ago
Thomas Piccirello
b6596f9957
Reposition "Priority" menu option in WebUI to match gui ( closes #7072 )
7 years ago
Chocobo1
7059b947e8
Replace dialog ok-cancel buttons with QDialogButtonBox
...
This PR will make button order follow the platform default.
For example: windows use: OK, Cancel; linux use: Cancel, OK.
7 years ago
Chocobo1
a341b793e4
Rename option
...
The previous "Disk write cache size" is not accurate since it is also being used
for read cache, so rename it to "Disk cache".
7 years ago
Chocobo1
a1d46a278b
Change default value of m_diskCacheSize. New default is 64 MB.
7 years ago
Eugene Shalygin
4ec193042f
Allow custom tray icons when system icon theme is used. Closes #7403 .
7 years ago
thalieht
6b33db3ae3
Create root folder option when adding a torrent in WebUI
7 years ago
Chocobo1
855772ae5a
Fix dereferencing freed pointer. Closes #7420 .
...
The torrent is removed from session after `deleteTorrent()`
yet we still invoke `torrent->name()`, thus result in crash.
7 years ago
Allan Nordhøy
5c18db240c
Spelling: HTTP/HTTPS
7 years ago
sledgehammer999
728b7dec3e
Sync translations from Transifex and run lupdate.
7 years ago
sledgehammer999
7b5730723d
Fix file list expansion on singlefile torrent with folder.
7 years ago
Vladimir Golovnev
c6dfdf9135
Fix CategoryFilterWidget::sizeHint()
7 years ago
Vladimir Golovnev
4cd3a37b4a
Fix suggest_mode setting
...
Actually suggest_mode is of type int.
7 years ago
Chocobo1
64d5e329c0
Sort the resource lists
...
Update RCC header
7 years ago
Chocobo1
ee9caa4305
Cleanup src.pro
7 years ago
Chocobo1
39b56ac598
Move NOMINMAX define
7 years ago
Chocobo1
551ffb88ab
Define QT_USE_QSTRINGBUILDER.
...
The old defines are deprecated.
QT_USE_QSTRINGBUILDER also supports QByteArray which we use extensively
in WebUI.
7 years ago