Chocobo1
42c17ea5ce
Fix argument name differ in definition & declaration
2017-05-09 14:12:36 +08:00
Eugene Shalygin
5b59b18606
Fix crash when entering daemon mode. Closes #6759 .
...
We stored reference to parameters object in main(), but that object gets
deleted when we reset Application object upon entering daemon mode.
Change reference to copy to fix that.
2017-05-08 18:01:38 +02:00
sledgehammer999
d61fc7e820
Merge pull request #3858 from Chocobo1/screen_center
...
Fix dialogs didn't position on the correct screen
2017-05-07 22:17:55 +03:00
sledgehammer999
9f98f9f7ac
Rename cmd options source files.
2017-05-07 16:20:18 +03:00
sledgehammer999
1a099fa742
Don't enforce an explicit value for TriState cmd options.
...
Most code from Brian Kendall <guygizmo@gmail.com> (@briankendall)
2017-05-07 14:47:37 +03:00
Eugene Shalygin
6540dfa528
Fix release CMake build
...
write() is declared with __attribute__ ((__warn_unused_result__)) and as
such we shall check its return value. Took opportunity and adjusted
error reporting a bit: if writing to stderr fails, try to write to
stdout.
2017-05-03 02:52:10 +02:00
Chocobo1
6f6fe626a1
Fix shutdownconfirm position
2017-05-01 15:32:08 +08:00
Chocobo1
de54fa2c30
Fix addnewtorrentdialog position
...
Fix messageBox position
2017-05-01 14:48:10 +08:00
sledgehammer999
4ea9a2f07e
Merge pull request #5532 from briankendall/torrent_command_line_arguments
...
Command line arguments for specifying options when adding torrents
2017-04-30 22:25:21 +03:00
Brian Kendall
eba41978b0
Added command line arguments for specifying options when adding torrents
...
Arguments include adding torrents as paused/started, skiping hash check, setting category, downloading in sequential order, downloading first and last pieces first, and skipping the 'add new torrent' dialog. Added TriStateBoolOption class for specifying options that don't have a default value when unused (e.g. add-paused). Also improved command line usage text to include more information, have better organization, and not exceed 80 columns in width. Also also added firstLastPiecePriority field to BitTorrent::AddTorrentData, and modified TorrentHandle so that if first/last piece priority should be on, it will be toggled on after the torrent's metadata has loaded.
2017-04-30 14:22:30 -04:00
Chocobo1
6bcb07649e
Setup DPI at startup
2017-05-01 02:21:44 +08:00
Chocobo1
893ce32f1d
Remove curly braces
2017-05-01 00:45:27 +08:00
Chocobo1
a1cad86bbf
Remove workaround
...
Upstream confirmed bug fixed in Qt 5.2
2017-05-01 00:45:09 +08:00
Chocobo1
b3c73b7868
Refactor
2017-05-01 00:37:47 +08:00
Eugene Shalygin
71cf25ae99
Replace variable length array with std::vector in print_stacktrace()
...
The function does memory allocation from heap anyway, so should not be
a problem to use STL container.
2017-04-27 14:32:02 +02:00
sledgehammer999
74fb070e78
Merge pull request #6693 from glassez/drop-qt4
...
Drop rest of qt4 support code
2017-04-26 15:12:55 +03:00
Vladimir Golovnev (Glassez)
335443e6a0
Drop QThread::msleep wrapper
2017-04-26 10:44:47 +03:00
sledgehammer999
f53dab8ad4
Output log messages for ip filter parsing errors.
2017-04-25 04:43:29 +03:00
Vladimir Golovnev (Glassez)
989a70fe60
Redesign RSS subsystem
2017-04-23 09:03:46 +03:00
Eugene Shalygin
f99ba03177
cmake: fix typo in the manifest file name
2017-04-19 17:06:44 +02:00
Eugene Shalygin
21a72c651f
Start up torrents after UI was created. Fixes #6454 .
...
Commit dd0537d
changed torrents startup code adding alerts processing
into it. Therefore alerts were processed before UI code subscribed to
signals and therefore part of alerts was not reflected in the UI.
Thus here we do not start torrents in Session constructor, but do that
from Application::exec() after UI was constructed and is ready to process
signals.
2017-04-14 00:58:43 +02:00
Eugene Shalygin
a8d95dd8bd
Save relative paths in fastresume files
...
Conditionally change absolute paths to relative in the fastresume data files.
The condition is specified by user via a command line parameter and
paths are relative to the profile dir.
On Windows the convertion to relative path is performed if the path and
the profile are on the same drive only.
2017-04-12 00:51:37 +02:00
Eugene Shalygin
0710a59bf5
Refactor parameters parsing
...
Introduce classes that encapsulate parameter names and parsing schemes
from command line and from environment variables.
2017-04-12 00:50:33 +02:00
Eugene Shalygin
0bf7fa15c1
Replace wrappers in base/utils/fs.h with Profile::SpecialFolders::location()
2017-04-12 00:50:33 +02:00
Eugene Shalygin
44b6cb28f6
Add environment variables usage description to the help text
2017-04-12 00:50:33 +02:00
Eugene Shalygin
d5414631c3
Initialise QBtCommandLineParameters members from environment
...
This allows to pass options via environment variables. The variable name
is constructed from parameter name by transforming the name to upper
case and prefixing "QBT_".
2017-04-12 00:50:33 +02:00
Eugene Shalygin
0f746ffd5a
Add support for different configurations. Partially closes #465
...
It may be useful to have different configurations either for portable
versions or for debugging purposes. To implement this we add two
options, avaliable via command line switches
1. An option to change configuration name ("--configuration"). The name
supplied via this option is appended to
QCoreApplication::applicationName() to form "qBittorrent_<conf_name>"
name for the configuration files.
2. An option to provide a path do directory where all the settings are
stored (kind of profile directory). There is a shortcut "--portable"
which means "use directory 'profile' near the executable location".
In order to implement that we have to perform initialisation of the
profile directories before the SettingStorage and Preferences singletones
are initialised. Thus, options parsing shall be performed without defaults
read from preferences.
2017-04-12 00:50:28 +02:00
Eugene Shalygin
b2ff058bc0
cmake: fix OSX bundle creation
2017-03-20 19:47:21 +01:00
Eugene Shalygin
5c0bf86405
cmake: remove qt4 leftover
2017-03-20 19:07:52 +01:00
sledgehammer999
bc910798da
Indicate bitness in stackstrace and about dialog. Closes #6172 .
2017-03-08 01:01:17 +02:00
sledgehammer999
147f4d76e2
Merge pull request #6445 from Chocobo1/fix
...
Follow http user-agent format
2017-03-07 23:38:14 +02:00
sledgehammer999
7a6da3d3ce
Merge pull request #6479 from Chocobo1/qt4
...
Remove remainings of Qt4
2017-03-07 23:28:56 +02:00
sledgehammer999
b69b6d1f55
Revert "Set default locale". Closes #6436 and #6459 .
...
This reverts commit 75ef6356d3
.
2017-03-07 15:35:42 +02:00
Chocobo1
ffdcfe9686
Replace Utils::String::toStdString() by QString::toStdString()
2017-03-06 23:58:38 +08:00
Chocobo1
cb1646be32
Prepend QBT_ for preprocessor variables
2017-03-06 13:41:58 +08:00
Eugene Shalygin
e64bb1de8c
Drop Qt 4 support
2017-03-05 22:24:59 +01:00
Chocobo1
7da29f7654
Embed manifest when compiling with MSVC
...
Update manifest
2017-03-04 13:09:32 +08:00
Chocobo1
511796f74e
Replace rand() by a true uniform distribution generator
2017-02-16 12:21:26 +08:00
Tim Delaney
cecff159a0
Move old RSS items to separate config file. Closes #6167 .
...
--HG--
branch : magao-dev
2016-11-06 12:00:09 +11:00
sledgehammer999
1376d8fa7b
Merge pull request #6084 from Chocobo1/set_locale
...
Set default locale
2017-01-20 20:14:20 +02:00
sledgehammer999
f1942bc0e0
Merge pull request #6104 from okeatime/mac_nox
...
Build qbittorrent-nox for macOS
2017-01-19 15:49:47 +02:00
Chocobo1
75ef6356d3
Set default locale
2017-01-19 13:33:34 +08:00
Chocobo1
e37a696e7d
Refactor
...
Move default value to preference class
Rename variable
Reorder headers
Remove extra parentheses
2017-01-19 13:33:34 +08:00
sledgehammer999
ba03fb30f3
Merge pull request #5987 from Chocobo1/temp_dir
...
Put temp files in .qBittorrent directory
2017-01-19 01:33:57 +02:00
Oke Atime
5f767b96f6
Build qbittorrent-nox for macOS
2016-12-22 23:23:21 +09:00
Eugene Shalygin
05dbea390b
Print warning to the user if stacktrace contains no function names
...
Count matched function names, and if there are no, point out to the user
that the stacktrace is useless. If not all stactrace elements contain
function names, suggest user that installing debug packages may improve
the stacktrace usefulness.
2016-12-17 17:46:05 +01:00
Eugene Shalygin
514de7edc4
Follow project coding style. Issue #2192 .
2016-12-17 17:29:43 +01:00
sledgehammer999
b2827702e5
Correctly migrate settings/rss/usage stats in macOS. Closes #6041 .
2016-12-14 17:51:49 +02:00
sledgehammer999
d88ec48468
Polish previous commit.
2016-12-11 23:24:55 +02:00
sledgehammer999
5a006d5980
Merge pull request #5810 from ghost/macOSpref
...
Change QSettings to IniFormat on macOS. Closes #5770 #5808
2016-12-11 23:23:22 +02:00
Chocobo1
cffa729ac5
Put temp files in .qBittorrent directory. Closes #4462 .
2016-12-01 01:39:27 +08:00
Yez Ezey
55916df97d
Set /usr/local/bin before default PATH on macOS. closes #5639 #5571
...
Since Apple made difficult for users to set PATH and /usr/bin/python
is almost unusable, I simply add /usr/local/bin before default PATH
to pick up Homebrew Python.
2016-11-07 13:29:55 +09:00
sledgehammer999
146d4e049a
Some more compiler warnings fixed.
2016-11-02 17:49:50 +02:00
sledgehammer999
124eddc68c
Merge pull request #5342 from glassez/session
...
Optimize BitTorrent::Session settings applying
2016-11-01 03:02:29 +02:00
Yez Ezey
26052802ca
Change QSettings to IniFormat on macOS. Closes #5770 #5808
...
On macOS 10.12 Sierra, Apple changed the behaviour of CFPreferencesSetValue()
truncating data after a null character. https://bugreports.qt.io/browse/QTBUG-56344
Due to this, we have to move from native plist to IniFormat.
2016-10-08 14:05:30 +09:00
Chocobo1
f448587271
Add function windowsSystemPath()
2016-07-23 13:39:13 +08:00
Chocobo1
1e1471c7c6
Workaround space issues in file path
...
References:
https://github.com/qbittorrent/qBittorrent/issues/5439#issuecomment-228616817
https://github.com/qbittorrent/qBittorrent/issues/5439#issuecomment-232214712
2016-07-16 11:27:51 +08:00
Chocobo1
3846a5b875
Invoke system's cmd.exe directly.
2016-07-16 11:19:33 +08:00
Chocobo1
705d7730dc
Fix upper-bound limit of command line for "Run External Program" in Windows. Closes #5399 .
2016-07-16 10:25:22 +08:00
Vladimir Golovnev (Glassez)
b5fe749f0b
Use new libtorrent-1.1 settings API
2016-06-20 08:30:02 +03:00
Vladimir Golovnev (Glassez)
b2cb473b63
Don't use Preferences in BitTorrent::Session
2016-06-20 08:30:02 +03:00
Chocobo1
df95efe33e
Improve usability of "Run External Program"
...
Users can write (platform dependent) shell scripts now.
2016-06-07 00:39:27 +08:00
Chocobo1
def27bce4d
Add log messages
2016-06-04 11:28:44 +08:00
sledgehammer999
8e64ffba01
Merge pull request #4937 from Chocobo1/option_crash
...
Fix crash when qbt exits with options dialog opened
2016-05-30 19:36:16 -05:00
sledgehammer999
fed2609cb2
Merge pull request #4888 from SeigneurSerpent/source_line
...
Stack trace for windows now contains source filenames and line numbers
2016-05-23 16:49:17 -05:00
SeigneurSerpent
7398e7f0ad
Improve stack trace for windows by including source filenames and line numbers
2016-05-23 22:37:24 +03:00
sledgehammer999
ef6e848756
Display notifications when a torrent is added. Closes #334 and #915 .
2016-04-25 20:07:26 +03:00
Chocobo1
34db2f5dd9
Fix qBittorrent doesn't exit immediately when "all donwloads are done -> exit" option enabled.
...
This fix is provided by glassez.
2016-04-18 00:46:47 +08:00
Chocobo1
fbc002f212
Enable access to shutdown functions when configured with --disable-gui
option
2016-04-18 00:45:37 +08:00
Chocobo1
a1e0fa5509
Fix Coverity Scan 143909.
...
Also, the setting "Confirmation on auto-exit when downloads finish" wasn't working before.
2016-04-18 00:35:08 +08:00
sledgehammer999
2d0b9e6538
Merge pull request #5111 from Chocobo1/refactor_shutdowndlg
...
Cleanup shutdowndlg
2016-04-17 11:23:07 -05: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
f12e21560a
Rename files:
...
confirmshutdowndlg.ui => shutdownconfirmdlg.ui
shutdownconfirm.cpp => shutdownconfirmdlg.cpp
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
Eugene Shalygin
1d6a1db491
cmake: make it compile on OS X
2016-03-28 19:59:11 +02:00
Eugene Shalygin
1e9bbce249
cmake: fix compilation
2016-03-28 19:44:59 +02:00
sledgehammer999
c2b6e1ce1a
Fix periodic latency spikes on Windows with WiFi connections. Closes #4209 .
2016-03-27 22:53:40 +03:00
sledgehammer999
18ee87f586
Fix previous commit.
2016-03-27 22:26:00 +03:00
sledgehammer999
2b8327c807
Merge pull request #4218 from d3faultdotxbe/master
...
Add 'never show again' checkbox/pref to auto-exit confirm dialog
2016-03-27 14:24:50 -05:00
sledgehammer999
d721939d5f
Use SettingsStorage instead.
2016-03-26 01:50:13 +02:00
sledgehammer999
1058572c8a
Implement file logger.
2016-03-26 01:39:13 +02:00
sledgehammer999
15ec515872
Merge pull request #4877 from evsh/cmake
...
add basic cmake support
2016-03-04 17:30:08 -06:00
sledgehammer999
56605cd0c3
Merge pull request #4865 from Chocobo1/os_name
...
Shorten crash report on windows
2016-03-04 17:27:48 -06:00
Vladimir Golovnev (Glassez)
dd34663224
Implement Advanced Saving Management subsystem
...
Closes #4696
2016-03-04 19:59:53 +03:00
Vladimir Golovnev (Glassez)
d05d5a85a5
Move Preferences backend code into SettingsStorage class
...
Closes #4764
2016-03-04 08:39:00 +03:00
Eugene Shalygin
64daecb266
add basic cmake support
2016-02-29 12:53:43 +01:00
Chocobo1
d0e31adaf7
Create helper function to get libtorrent version
2016-02-28 17:47:43 +08:00
Chocobo1
12627bbc10
Create helper function to get boost version
2016-02-28 17:47:42 +08:00
Chocobo1
498f5e3877
Create helper function to get OS name
2016-02-28 13:23:06 +08:00
Chocobo1
7b2fab411c
Comment out "List of linked Modules" section in windows crash report.
...
It is bloating the crash report with unhelpful messages.
2016-02-27 05:42:48 +08:00
sledgehammer999
cd85d00b3b
Merge pull request #4251 from Chocobo1/200_scaling
...
Fix incorrectly displayed UI elements on Windows
2016-02-16 15:12:54 -06:00
Chocobo1
aa246f0ca8
Let OS handle DPI scaling for now. Should let Qt do the work when it's more mature.
...
Opt-in to the high DPI pixmap support
Closes #2963 .
2016-02-16 11:39:25 +08:00
Chocobo1
e35a7ef9d3
Move statusbar styelsheet to where it belongs
2016-02-16 11:39:23 +08:00
sledgehammer999
f37aed868e
Merge pull request #4744 from Chocobo1/splash_scrn
...
Fix potential race condition in showSplashScreen()
2016-02-09 09:50:22 -06:00
sledgehammer999
958b70e4ac
Merge pull request #4403 from glassez/fastresume
...
Improve .fastresume saving and torrents starting up. Closes #4315 .
2016-02-05 12:06:58 -06:00
Chocobo1
48d2beece5
Fix potential race condition. Closes #4742 .
2016-02-04 00:39:10 +08:00
Vladimir Golovnev (Glassez)
057cbed204
Fix upgrade corrupted fastresume file
2016-02-01 09:20:28 +03:00
sledgehammer999
193913129f
Merge pull request #4360 from Chocobo1/signal_fix
...
Simplify signal handler
2016-01-28 16:08:49 -06:00
sledgehammer999
0d32b9a692
Fix splash screen staying on top of all windows. Closes #1391 .
2016-01-25 15:59:20 +02:00
Chocobo1
4a3d9029d1
Add #include guard
2016-01-22 01:36:11 +08:00
Chocobo1
ef75ae4aee
Try to concat most of the string at compile time
...
The lesser unsafe code in signal handler the better
Add license
2016-01-22 01:36:11 +08:00
Chocobo1
5c8a4b3912
Simplify signal handler
...
Try to use signal-safe functions as much as possible
Closes #3995
Define sys_signame[] ourselves on linux
2016-01-22 01:36:11 +08:00
Vladimir Golovnev (qlassez)
a5780dd66c
Switch to using previous fastresume file names
2016-01-16 14:36:56 +03:00
Boris Nagaev
4706733846
convert includes like <Windows.h> to lowercase
...
There is header file windows.h, not Windows.h.
MinGW on Linux build machine is filename case-sensitive.
2016-01-05 23:29:26 +03:00
sledgehammer999
52d08f7112
Merge pull request #4413 from glassez/dlmgr
...
Improve Download Manager. Closes #4305
2016-01-05 10:10:08 -06:00
Vladimir Golovnev (qlassez)
12c151eb69
Save RSS cookies to common cookie storage
...
Closes #4305
2016-01-04 05:45:30 +03:00
sledgehammer999
c700b8c5c5
Move the 'qBittorrent-resume' file even when no magnets were recovered. Also make sure to rename it with a unique name. Closes #4334 .
2016-01-03 16:26:36 +02:00
Vladimir Golovnev (qlassez)
0bffa066db
Make DownloadManager to save/load cookies
2015-12-22 14:02:14 +03:00
d3fault
07599b5923
Add 'never show again' checkbox/pref to auto-exit confirm dialog
2015-12-09 01:01:48 -07:00
Vladimir Golovnev (Glassez)
9db93e5d8f
Rename Core to Base ( Closes #3733 ).
2015-12-06 14:27:00 +03:00
sledgehammer999
17ac4b90be
Use simpler DEFINE for detecting Qt5 so moc will work too.
2015-12-05 22:20:49 +02:00
Vladimir Golovnev (Glassez)
bdac97147f
Improve upgrade to v3.3. Fixes #4195 .
2015-12-05 20:38:17 +03:00
sledgehammer999
00fae05507
Don't ask the user questions in nox build when in non-interactive mode. Closes #3875 .
2015-11-17 23:00:33 +02:00
Vladimir Golovnev (Glassez)
c38987fc03
Provide torrent paths to external program.
2015-11-01 17:09:15 +03:00
Vladimir Golovnev (Glassez)
501ab07024
Fix TorrentHandle path methods. Closes #3847 .
2015-11-01 17:09:09 +03:00
Vladimir Golovnev (Glassez)
b63a68c9db
Use libtorrent::torrent_status::added_time ( Closes #3764 ).
2015-10-11 07:58:56 +03:00
Gabriele
420fa82e8d
Put some string placeholders between quotes
2015-09-02 23:26:19 +02:00
Chocobo1
cf3a87ed55
Use native path separators, fixup of 030dd9e
, 3baec1c
.
2015-08-29 14:17:21 +08:00
ngosang
fbb47ce08f
Fix 3 compiler warnings
2015-08-02 14:22:47 +02:00
sledgehammer999
fce3a2d5c0
Merge pull request #3457 from Chocobo1/ext_param
...
Add more "Run External Program" parameters
2015-07-29 23:17:19 +03:00
Chocobo1
3baec1c327
Add more "Run External Program" parameters, closes #3053 , #238 , #1291 , #1522 .
2015-07-22 15:25:31 +08:00
Vladimir Golovnev (Glassez)
79976fbfce
Implement new GeoIPManager class.
2015-07-22 08:06:51 +03:00
Chocobo1
ff8f37b262
Save trimmed string in preference
2015-07-20 01:16:15 +08:00
sledgehammer999
61705fdd42
Partially revert fb7ba92f6
and split the Chinese locales into 3.
...
Chinese Simplified, Chinese Traditional(Taiwan), Chinese Traditional(Hong Kong).
Closes #3262 .
2015-07-03 22:20:32 +03:00
Heiko Becker
3c66997427
Add missing QDataStream include
...
Fixes building with Qt 5.5.0-beta.
2015-06-30 22:04:34 +03:00
sledgehammer999
627d74233b
Merge pull request #3245 from glassez/upgrade
...
Upgrade to v3.3
2015-06-20 16:33:32 +03:00
Vladimir Golovnev (Glassez)
b29f6916cb
Implement upgrage code.
2015-06-20 16:23:10 +03:00
sledgehammer999
fb7ba92f69
Rename Chinese translation files. Closes #2936 .
2015-06-17 23:06:08 +03:00
sledgehammer999
f5b0008158
Merge pull request #2805 from ngosang/typo_revision
...
Changes in typography
2015-06-13 22:06:12 +03:00
ngosang
e01a61d816
changes in typography
2015-06-13 20:04:20 +02:00
Vladimir Golovnev (Glassez)
5798fb959d
Fix qbittorrent-nox compilation.
2015-06-13 09:20:16 +03:00
Vladimir Golovnev (Glassez)
191cdc2849
Move utilities to core/utils folder.
...
Also move the names to Utils namespace.
2015-06-09 21:30:56 +03:00
Vladimir Golovnev (Glassez)
d16d1fdb3a
Redesign main core classes.
2015-06-09 21:30:42 +03:00
Vladimir Golovnev (Glassez)
d32bb52390
Don't add core to INCLUDEPATH.
2015-06-03 22:11:43 +03:00
sledgehammer999
a3574d3e28
Merge pull request #2846 from Noctem/fixVariableNames
...
Fix variable names
2015-05-10 17:53:26 +03:00
sledgehammer999
6644fe0714
Tell Windows to wait during shutdown by creating a ShutdownBlockReason.
...
Huge thanks to paolo-sz for bringing this to my attention, for the various patches he tried to submit and for testing.
See issue #1984 for complete history.
Closes #1535 .
2015-05-02 23:55:58 +03:00
sledgehammer999
d14805d065
Merge pull request #2863 from racam/master
...
login.html escape quotes + add qbittorrent-nox to gitignore + bug with startup info with qbittorrent-nox
2015-05-02 23:09:10 +03:00
racam
d7ac142885
Enhancement of the webui preference and of the quote escape for javascript
2015-05-01 21:59:36 +02:00
sledgehammer999
4493fd9c31
Allow to use system QJson. Closes #1744 .
2015-04-12 14:01:32 +03:00
David Christenson
307ae459f2
Fix variable names
...
Change undeclared identifiers `running_` and `paramsQueue_` to their
proper names.
2015-04-07 20:49:45 -06:00
Vladimir Golovnev (Glassez)
2707f5205f
Fix prefjson::setPreferences() doesn't actually save.
2015-02-08 19:44:56 +03:00
Vladimir Golovnev (Glassez)
458b216b74
MainWindow cleanups.
...
All MainWindow child widgets use constructors with 'parent' parameter
that allows parent widget to delete them at its destruction.
Some other MainWindow cleanup code replaced to destructor.
Application manages MainWindow instance and remove it when aboutToQuit()
signal emitted.
2015-02-08 19:36:52 +03:00
Vladimir Golovnev (Glassez)
0c50a8b98b
Put all application logic into Application class.
...
Application process message and split it into params list itself (this
prevents code duplication).
Application store params unless other components ready to process them.
Application incapsulate all QMacApplication and SessionApplication logic
(this is too small to have separate classes).
2015-02-08 19:33:18 +03:00
Vladimir Golovnev (Glassez)
8b95bb233d
Fix main().
2015-02-08 19:28:03 +03:00
Vladimir Golovnev (Glassez)
2dd473eb28
Use unmodified QtSingleApplication on Windows.
...
Get running application instance PID without QtSingleApplication
modification.
2015-02-08 19:27:45 +03:00
Vladimir Golovnev (Glassez)
ff9a281b72
Change project directory structure.
...
Change project directory structure according to application structure.
Change 'nox' configuration option to something more meaningful 'nogui'.
Rename 'Icons' folder to 'icons' (similar to other folders).
Partially add 'nowebui' option support.
Remove QConf project file.
2015-02-05 19:10:26 +03:00