Chocobo1
3748b995ff
Avoid creating unnecessary event loops
...
The `exec()` method will create another event loop and transfer
control over there which might introduce unexpected bugs.
2019-06-17 20:44:57 +08:00
thalieht
9995967fbf
Remove some unused #include
2019-06-04 17:48:55 +03:00
Chocobo1
c6f3da1097
Improve removeIf() to support set types
...
We can now replace QMutable*Iterator by removeIf() which usage is more consistent with other
algorithm functions.
2019-05-14 01:26:01 +08:00
thalieht
6b1d26d555
Convert all foreach() to range-based for()
2018-11-28 23:40:12 +02:00
thalieht
d668a4fe6d
Fix coding style for various things
2018-11-28 23:37:35 +02:00
Chocobo1
266ce1d226
Clean up SpeedLimitDialog class
2018-11-05 11:07:52 +08:00
thalieht
94613c2fa2
Fix some warnings
2018-09-07 19:40:08 +03:00
Chocobo1
0217d5b4c0
Replace single-character string with character literal
...
Also remove unnecessary dynamic allocation.
2018-07-21 23:26:15 +08:00
thalieht
d34ddb2e3c
Change file names and classes names to match them
2018-06-15 20:12:59 +03:00
thalieht
4022799881
Fix coding style
2018-06-12 07:17:05 +03:00
Chocobo1
5ddbf9bba9
Replace post-increment with pre-increment
...
And post-decrement with pre-decrement.
2018-06-08 08:44:06 +08:00
thalieht
586e1a0830
Move some connect() from propertieswidget to their corresponding widget
2018-05-09 16:08:22 +03:00
thalieht
6b4455e13d
Use qt5 connect() syntax
2018-05-09 16:08:22 +03:00
thalieht
3e4099fe5b
Replace the zeroing of pointers with nullptr
2018-04-15 13:06:31 +03:00
Chocobo1
c2c0dd2717
Fix column size too narrow on resize
...
Instead of giving a value, just resize to the content size
2017-12-24 21:54:56 +08:00
thalieht
ae1634623e
Coding style for many files
2017-11-20 23:29:59 +02:00
thalieht
525fdd6c2b
Coding style, use nullptr and other minor things
2017-10-08 10:20:54 +03:00
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().
2017-08-13 16:14:57 +03:00
Chocobo1
bd2f69a9d6
Fix peeradditiondlg position
2017-05-01 15:32:08 +08:00
Chocobo1
fb9ebce9c6
Fix pluginselectdlg position
...
Fix peerlistwidget position
Fix mainwindow position
2017-05-01 15:32:08 +08:00
sledgehammer999
ae0a9d74c4
Merge pull request #6487 from Chocobo1/ui
...
GUI polish
2017-04-18 04:01:13 +03:00
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.
2017-04-17 16:31:19 +02:00
Chocobo1
812bd4c83a
Uncrustify
2017-04-05 17:39:44 +08:00
Chocobo1
86e82c71e5
Setup parent pointer
...
Rely on Qt to do the delete, since the parent ownership is setup
correctly.
2017-04-05 17:36:36 +08:00
Chocobo1
87384ca2a2
Replace Utils::String::toHtmlEscaped() by QString::.toHtmlEscaped()
2017-03-07 00:03:53 +08:00
Eugene Shalygin
e64bb1de8c
Drop Qt 4 support
2017-03-05 22:24:59 +01:00
Chocobo1
6ca3e4f094
Add Utils::String::toHtmlEscaped
2017-03-03 21:28:30 +02:00
thalieht
daf33ef8aa
PeerList: align text to the right in columns that handle numbers
2016-12-07 17:47:51 +02:00
Chocobo1
f4652b3f7b
Shift + scroll = horizontal scroll, Closes #5980
...
Only for TransferListWidget, PeerListWidget
2016-11-27 16:06:46 +08:00
Chocobo1
85add9a5c8
Use "Standard Shortcuts" defined by Qt whenever possible.
2016-08-10 23:09:15 +08:00
sledgehammer999
fc0746eb71
Merge pull request #5245 from thalieht/resolveCountries
...
Minor refactor in PeerListWidget
2016-05-17 17:55:11 -05:00
thalieht
4baa6dde52
resize column to contents only when they're visible
...
refactor updatePeerCountryResolutionState
deprecate m_resolveCountries var
2016-05-18 00:44:41 +03:00
Chocobo1
8a1d387c38
Change ambiguous text "Copy selected" to "Copy IP:port"
2016-05-16 14:29:59 +08:00
sledgehammer999
8c36f753f9
Merge pull request #4867 from evsh/peers-show-files
...
Show downloading files in peers list. Attempt #2
2016-03-13 19:14:48 -05:00
sledgehammer999
d39d40c064
Don't display Country option in PeerListWidget header menu when country resolution is disabled.
2016-03-14 01:17:59 +02:00
thalieht
1fa6f3123b
add toggle columns for peerlist
2016-03-06 23:59:36 +02:00
Eugene Shalygin
b24bdcb8d9
Revert "Temporarily revert PR #2885 (filename column in peers view)."
...
This reverts commit 69d52a06d7
.
2016-02-27 20:51:39 +01:00
thalieht
a17fc84fd0
Unlock first column in peerlist too
...
I just copy pasted from trackerlist (tested ofc). No idea if it can be
done differently.
2016-01-31 16:54:16 +02:00
sledgehammer999
69d52a06d7
Temporarily revert PR #2885 (filename column in peers view).
...
There's a bug that causes frequent crashes.
Issue #4597 .
2016-01-21 00:26:03 +02:00
Eugene Shalygin
768b67d275
Add column with list of currently downloading files
...
Add a new column to peers list that shows list of files which are
downloaded right now from a peer. The column is empty if we do not
download anything from the given peer.
2015-12-20 01:45:35 +01:00
Eugene Shalygin
efed388402
Revert "Remove unused parameter."
...
This reverts commit 87347cf0e5
.
2015-12-20 01:45:35 +01:00
sledgehammer999
87347cf0e5
Remove unused parameter.
2015-12-07 23:59:23 +02:00
buinsky
00c765be1b
Implement sync/torrent_peers request
2015-12-06 22:21:24 +03:00
buinsky
aea6c38b33
Follow project coding style. Issue #2192 .
2015-12-06 22:07:47 +03:00
Vladimir Golovnev (Glassez)
9db93e5d8f
Rename Core to Base ( Closes #3733 ).
2015-12-06 14:27:00 +03:00
sledgehammer999
581d544f61
Fix typos. Make ìTP
untranslatable. Use American variation of words. Closes #3654 .
2015-09-04 23:14:02 +03:00
Gabriele
420fa82e8d
Put some string placeholders between quotes
2015-09-02 23:26:19 +02:00
Vladimir Golovnev (Glassez)
84922dcdcf
Fix need restart to enable/disable peer countries resolution.
2015-07-22 08:07:13 +03:00
Vladimir Golovnev (Glassez)
79976fbfce
Implement new GeoIPManager class.
2015-07-22 08:06:51 +03:00
ngosang
63ed69789b
Allow to copy all peers with a keyboard shortcut
2015-07-19 13:04:30 +02:00