Chocobo1
f741d3131d
Delete all mainwindow child widgets. Closes #4871 , #5049 .
...
Some of the `delete` can be handled by the findChild loop
2016-04-17 18:51:35 +08:00
Chocobo1
e2a090f03f
Use QAtomicInt to guarantee cleanup() is only executed once
2016-04-17 18:48:22 +08:00
Eugene Shalygin
7c0b5818b1
cmake: add imported target for QtSingleApplication
...
This simplifies cmake code a bit: we remove if's and just generate
different target (imported or alias) with the same name and use it
unconditionally.
2016-04-17 01:07:15 +02:00
Eugene Shalygin
f050f15a0c
cmake: fix Qt resources linkage. Closes #5080
...
Qt resource is innitialized by a static object constructor (see
https://wiki.qt.io/QtResources ). When we put resources into a static
library, the linker removes that static objects and thus the resources
themselves. To correct that we append resources to the main executable
sources list. This is done via custom function qbt_target_sources which
knows where to read the executable' name.
2016-04-17 01:06:24 +02:00
Chocobo1
7d5ab68f50
Fix Coverity Scan cid 143911.
...
`filesCount()` could return a negative value.
2016-04-16 12:37:23 +08:00
Chocobo1
a12d82524a
Fix class member initialize order
2016-04-16 12:31:41 +08:00
Chocobo1
75bdfe971b
Fix warnings in mainwindow.ui. Closes #5117 .
...
gui/mainwindow.ui: Warning: The name 'actionExecutionLogs' (QAction) is already in use, defaulting to 'actionExecutionLogs1'.
gui/mainwindow.ui: Warning: action `actionSearch_engine' not declared
gui/mainwindow.ui: Warning: action `actionRSS_Reader' not declared
2016-04-16 12:27:33 +08:00
Chocobo1
f12e21560a
Rename files:
...
confirmshutdowndlg.ui => shutdownconfirmdlg.ui
shutdownconfirm.cpp => shutdownconfirmdlg.cpp
2016-04-14 14:50:59 +08:00
Chocobo1
65d9739c6c
Enlarge dialog size. Closes #5091 .
...
This avoids text clipping when using Qt4 lib.
2016-04-14 14:50:59 +08:00
Chocobo1
6a11056b60
Rename enum
...
Change identifier from ShutdownAction to ShutdownDialogAction
Change enum value from None to Exit
2016-04-14 14:50:59 +08:00
Chocobo1
d3fb46663c
Refactor
...
Add helper function to initialize shutdown message.
Group similar functions together.
Merge shutdown() function into its only caller.
Add override keyword
2016-04-14 14:25:12 +08:00
sledgehammer999
e4c0da4ed4
Merge pull request #5083 from glassez/coding
...
Fix coding style rules. Closes #5075
2016-04-13 08:49:01 -05:00
Vladimir Golovnev (Glassez)
f89819bbdb
Fix coding style rules
...
Closes #5075
2016-04-13 16:24:38 +03:00
sledgehammer999
32490f1ef6
Merge pull request #4995 from Chocobo1/border
...
Search UI tweaks
2016-04-13 07:11:31 -05:00
sledgehammer999
a33cfc26dc
Merge pull request #5085 from glassez/nova2dl
...
Use nova2dl.py script instead of DownloadManager. Closes #5026
2016-04-13 07:07:01 -05:00
Sjoerd van der Berg
03d1dad2a3
Fix variable name
2016-04-13 11:17:36 +02:00
Sjoerd van der Berg
c7c71d3c88
Change back to the original names for the announce address
...
Only allow ip's through that match the currenrly selected network interface and address
2016-04-13 10:51:29 +02:00
Vladimir Golovnev (Glassez)
a9e63283cc
Use nova2dl.py script instead of DownloadManager
...
Closes #5026
2016-04-13 08:06:06 +03:00
sledgehammer999
b13c991f4b
Sync translations from Transifex and run lupdate.
2016-04-13 02:02:07 +03:00
sledgehammer999
cd4f288f67
Follow project coding style. Issue #2192 .
2016-04-13 01:53:54 +03:00
sledgehammer999
5e796054ba
Merge pull request #4261 from onto/master
...
SpeedPlotView: speedup
2016-04-12 17:42:32 -05:00
sledgehammer999
b8060bc507
Merge pull request #5038 from Chocobo1/fix_resizing
...
Fix resizing bug in "add torrent dialog"
2016-04-12 16:56:09 -05:00
sledgehammer999
29394293ed
Merge pull request #5108 from Chocobo1/ui_fixes
...
Fix long text clipping. Closes #5091 .
2016-04-12 15:55:32 -05:00
sledgehammer999
50f7c734cb
Merge pull request #5101 from evsh/deduplicate-search-download-code
...
Remove duplicated code from search tab and widget
2016-04-12 15:31:25 -05:00
sledgehammer999
8cb4e7934e
Merge pull request #5104 from evsh/cmake
...
cmake: reflect qmake project changes
2016-04-12 15:21:41 -05:00
sledgehammer999
e3409228da
Fix qt5 bundle on OSX. Closes #4014 .
2016-04-12 23:19:02 +03:00
Chocobo1
1099a5006f
Cleanup header include
...
Code formatting
2016-04-13 02:45:08 +08:00
sledgehammer999
87e8bc5722
Change gpg signing key.
...
I forgot the passphrase to the old one.
2016-04-12 20:07:04 +03:00
Chocobo1
71ec5c5c05
Fix long text clipping. Closes #5091 .
2016-04-13 01:07:00 +08:00
Chocobo1
216d98844b
Move m_searchPattern widget from code to .ui file
2016-04-12 16:14:09 +08:00
Chocobo1
a52f9d4ef9
[Search] Add seperator for categories & plugins
...
Sort categories & plugins entries
Rename & reorder entries
Use full name for plugins
2016-04-12 16:14:08 +08:00
Chocobo1
231262ad8e
[Search] match combobox height to button height
2016-04-12 11:38:27 +08:00
Chocobo1
2d6669b88d
[Search] minor cleanups
2016-04-12 11:38:27 +08:00
Eugene Shalygin
f51753f166
cmake: reflect qmake project changes
2016-04-12 02:07:10 +02:00
sledgehammer999
484cd2f1ce
Merge pull request #4670 from glassez/rsscookies
...
Implement application wide cookies management dialog. Closes #4638
2016-04-11 18:54:36 -05:00
Vladimir Golovnev (Glassez)
1760beed17
Fix MainWindow coding style (Issue #2192 )
2016-04-11 19:15:50 +03:00
Vladimir Golovnev (Glassez)
a6595507f0
Fix macro define cross over access specifiers
2016-04-11 19:15:48 +03:00
Vladimir Golovnev (Glassez)
c193d448d8
Delete old RSS cookies dialog
2016-04-11 19:15:47 +03:00
Vladimir Golovnev (Glassez)
c982813acb
Create basic cookies management dialog
2016-04-11 19:14:28 +03:00
Vladimir Golovnev (Glassez)
95ddc57c13
Implement basic cookies model
2016-04-11 16:58:28 +03:00
Eugene Shalygin
5063940138
Remove duplicated code from search tab and widget
...
Both download handlers (in the tab and widget classes) convert model
index into an URL, set row color, and call download function.
Make the download button handler (in the SearchWidget class) call the
slot of the SearchTab class.
2016-04-11 14:00:50 +02:00
sledgehammer999
feab999093
Merge pull request #5070 from Chocobo1/icon_sizehint
...
Improve TransferListDelegate::sizeHint
2016-04-10 11:39:06 -05:00
Sjoerd van der Berg
e2f43b3383
Add option to bind directly to an IP instead of using a network Interface
2016-04-09 09:19:22 -07:00
Bert Verhelst
13e67f176a
resized icons to 32px by 32px
2016-04-08 20:59:46 +02:00
sledgehammer999
43d52026b7
Merge pull request #5077 from ngosang/warnings
...
Fix uic warnings. Closes #5056
2016-04-05 17:19:15 -05:00
sledgehammer999
acef6ad973
Merge pull request #5069 from Chocobo1/dpi
...
More DPI changes
2016-04-05 17:18:18 -05:00
sledgehammer999
b30048202a
Merge pull request #3989 from evsh/filter-search
...
Implement search filters. Partially closes #972
2016-04-05 17:17:27 -05:00
Eugene Shalygin
cc09e7e834
refactor SettingsStorage class
...
1. Extract "transaction" support for QSettings into separate class
TransactionalSettings.
2. Define macrto with explicit name for the case when this "transaction"
support is needed.
3. A bit optimize QHash <-> QSettings copying: replace assign with
insert() and remove repetitive key lookups.
4. In save() check dirty status before getting the lock too.
The changes from items 1 and 2 make text more structured and the logic
of the SettingsStorage class gets separated from the implementation level
task of guarding the settings serialization. The changes in 3 and 4 do not
make the app much faster, but neither make any harm to the code readability.
2016-04-05 18:43:00 +02:00
sledgehammer999
364c22bee7
Fix indentation.
2016-04-05 00:54:10 +03:00
Anton Lashkov
cdab0bb140
SpeedPlotView: code correction
2016-04-04 23:05:25 +04:00