Vladimir Golovnev (qlassez)
cff6a64e9f
Use qUtf8Printable() for logging strings
...
qDebug(), qInfo(), qWarning(), qCritical(), qFatal() expect %s arguments
to be UTF-8 encoded, while qPrintable() converts to local 8-bit encoding.
Therefore qUtf8Printable() should be used for logging strings instead of
qPrintable().
7 years ago
vit9696
d25467d3e6
Various macOS UI improvements
7 years ago
thalieht
91f528bc96
Fix coding style for several files
...
trackerlist
autoexpandabledialog
previewselect
shutdownconfirmdlg
torrentcontentfiltermodel
torrentcontenttreeview
peerlistsortmodel.h
7 years ago
Eugene Shalygin
74cecb1b6c
Replace C-style casts with C++ ones
8 years ago
Eugene Shalygin
6d9eec0e71
Fix crash in download piece bar
...
When torrent size is smaller than the image width, bytes per pixel was
set to zero and code was crashing. Set it to -1 instead, as we do when
image is empty. This will disable highliting, but our algorithm does not
work in this case anyway.
8 years ago
Chocobo1
08a6c75227
Refactors
...
Rename variables
Refactor to return early instead of introducing a scope
Revise dialog title & messages
Refactor code logic
8 years ago
Chocobo1
b18bf48014
Improve error message reported to user
...
Should not contain "file" or "folder", because it's not clear which type is selected.
8 years ago
Chocobo1
51e3e5438b
Code formatting
...
Refactor
8 years ago
Chocobo1
0939875ca8
Fix renaming files is not case sensitive on Windows platform. Closes #5128 .
8 years ago
Eugene Shalygin
5c10a24923
Add availability column to torrent properties window
8 years ago
thalieht
73c37cc460
Trackerlist: add "m_" to private members and make them camelCase
8 years ago
thalieht
14f50f1038
Trackerlist: Allow to toggle columns
8 years ago
thalieht
d9555a9e9d
Trackerlist: Set text alignment of columns with numbers to the right
8 years ago
thalieht
5d33399000
TrackerList: Remove unnecessary deletes from the destructor
8 years ago
thalieht
e82a1522c8
Trackerlist: Change 0 to nullptr
8 years ago
thalieht
e00be240b0
PropertiesWidget: Change 0 to nullptr
8 years ago
thalieht
b360c5453b
PropertiesWidget: Some coding style
8 years ago
thalieht
ce77ebdfe1
Coding style of whole trackerlist.h and a little in trackerlist.cpp
8 years ago
Eugene Shalygin
f211b238c4
Do not attempt to show detailed tooltips without torrent metadata. Closes #6768 .
...
Computations for detailed tooltips are not protected against unavailable
metadata, that leads to asserts or crashes. But since those tooltips are
useless in this case, do not show them at all. Inform user that detailed
tooltip becomes available once torrent metadata are fetched.
8 years ago
Vladimir Golovnev (Glassez)
8a6d8f3953
Use cached SessionStatus and CacheStatus
8 years ago
Chocobo1
f36e891010
Fix trackersadditiondlg position
8 years ago
Chocobo1
bd2f69a9d6
Fix peeradditiondlg position
8 years ago
Chocobo1
fb9ebce9c6
Fix pluginselectdlg position
...
Fix peerlistwidget position
Fix mainwindow position
8 years ago
Vladimir Golovnev (Glassez)
335443e6a0
Drop QThread::msleep wrapper
8 years ago
Eugene Shalygin
4e1b7c3b87
Remove generated include from headers
...
Not only fixes compilation with CMake 3.8 (without messing with include
paths) but makes sources cleaner.
8 years ago
Eugene Shalygin
34798399da
cmake: fixes for cmake 3.8
...
AUTOUIC seems to became stricter.
8 years ago
Vladimir Golovnev (Glassez)
d413bc65ef
Improve strip torrent root folder
...
Fix issue when you rename the "root item" in the "Add New Torrent" dialog
and uncheck "Create subfolder", it will create the subfolder with the
renamed name.
Fix PropertiesWidget first folder is expanded after app restart.
Strip root folder if torrent was added via magnet link.
Fix crash when you get name of torrent without metadata.
8 years ago
sledgehammer999
4b2d8a7941
Setting for creating subfolder on multifile torrents. Closes #588 .
8 years ago
Chocobo1
812bd4c83a
Uncrustify
8 years ago
Chocobo1
a86f189f53
Relax comparsion for floating point
8 years ago
Chocobo1
59556dfc6a
Cleanup & refactor
8 years ago
Chocobo1
86e82c71e5
Setup parent pointer
...
Rely on Qt to do the delete, since the parent ownership is setup
correctly.
8 years ago
Chocobo1
a16c557137
Always draw background
8 years ago
Chocobo1
2b2b3a4fe7
Fix downloaded/uploaded columns were not highlighted properly when selected.
...
Refactor
8 years ago
Chocobo1
87384ca2a2
Replace Utils::String::toHtmlEscaped() by QString::.toHtmlEscaped()
8 years ago
Eugene Shalygin
e64bb1de8c
Drop Qt 4 support
8 years ago
Chocobo1
6ca3e4f094
Add Utils::String::toHtmlEscaped
8 years ago
thalieht
4f1c428d8f
Seperate seeds from peers for DHT, PeX and LSD
8 years ago
Chocobo1
4ad541d066
Fix coverity issues
...
torrentcontentmodel: Use a variable to store filesCount
optionsdlg: add fallthrough comment to suppress warning
speedPlotview: initialize member
misc: fix wrong type used, add spaces
8 years ago
thalieht
2bb2d3fc89
change all existing shortcuts to use Qt::Keys
8 years ago
thalieht
c87cdaea23
add hotkeys for Trackerlist Peerlist etc.
8 years ago
sledgehammer999
f4fa000ba3
Polish previous commit.
8 years ago
sledgehammer999
2d37a39e43
Allow to change priority for unselected files through the combobox like it is done via the context menu.
8 years ago
sledgehammer999
7ba66e692f
Always show progress and remaining bytes for unselected files.
8 years ago
sledgehammer999
3e375128c0
Use a disabled progressbar's palette for unselected files.
...
Thanks to evsh(Eugene Shalygin) for example code.
8 years ago
Oke Atime
84da355f4c
Case insensitive sort for client clumn. Closes #6054
8 years ago
thalieht
f523685414
PeerListDelegate: fix coding style in whole file
8 years ago
thalieht
a90100a0b7
PeerList: allow to hide zero values for the "uploaded" and "downloaded" columns
8 years ago
thalieht
daf33ef8aa
PeerList: align text to the right in columns that handle numbers
8 years ago
Chocobo1
ce3c53b3c4
Replace deprecated classes
8 years ago