Vladimir Golovnev (Glassez)
86c95db91d
Perform settings upgrade for existing user only
5 years ago
Chocobo1
a6cdba17f0
Fix singleton class ownership
...
We shouldn't allow Qt parent ownership in here.
5 years ago
NotTsunami
b21ed0063b
CMake: Fix WebUI checks
...
When the CMake system was last revamped, the configure variable was
changed from WEBUI to DISABLE_WEBUI, but we are still checking
against WEBUI. This behavior was changed in fa770871e9
5 years ago
sledgehammer999
8fa6e372a2
Option to show console when external program is run
...
Windows only.
Closes #9592
5 years ago
sledgehammer999
4ae8e176dc
Use modern unique_ptr practices
5 years ago
Tester798
053ee48692
Enable portable mode if "profile" directory exists
...
Enable portable mode if "profile" directory exists in the app dir.
Remove "--portable" command line argument.
Add logging of current profile config directory.
Closes #9445 .
5 years ago
Chocobo1
6fd678195c
Replace deprecated Qt functions
...
QSet::toList() is replaced by QSet::values()
5 years ago
Chocobo1
7276a79cef
Call Windows API directly
...
We already bumped the OS requirement to Windows 7 and those functions
can be called directly without the need to load them first.
5 years ago
Chocobo1
17e4902519
Don't define variable when not building GUI
5 years ago
Chocobo1
0d5b0b9542
Replace deprecated macro
...
Q_OS_MAC is deprecated and the replacement is Q_OS_MACOS.
5 years ago
Chocobo1
7e0daf1663
Setup pixmap cache in a proper place
...
There is no need to reset the cache limit to previous value as
QPixmapCache is an application wide cache.
Also raise the cache size to 64MB.
5 years ago
Chocobo1
47b9d8dbc6
Clean up Application class constructor
5 years ago
Chocobo1
e3483c62ca
Remove explicit conversion to QVariant
5 years ago
Vladimir Golovnev (Glassez)
6bfa4370b7
CMake: Fix Windows build
5 years ago
Chocobo1
25c56d3b66
Make use of Utils::Misc::loadWinAPI
5 years ago
Chocobo1
5c015d573b
Forward declare types as much as possible
5 years ago
Chocobo1
a610c8567e
Prevent command injection via "Run external program" function
...
Closes #10925 .
5 years ago
Chocobo1
4a90716843
Add override keyword to functions
5 years ago
Chocobo1
07263d2d70
Move implementation to its own file
5 years ago
Prince Gupta
8267a4fef9
Incorporate GuiIconProvider inside UIThemeManager
5 years ago
Chocobo1
7b568b07e6
Clean up CMakeLists.txt
5 years ago
Prince Gupta
a24925c858
Allow styling with QSS stylesheets
5 years ago
Chocobo1
4eff268095
Replace obsoleted QFontMetrics::width()
...
Qt 5.13 marked QFontMetrics::width() obsolete.
5 years ago
Vladimir Golovnev (Glassez)
c7f3693ad1
Implement "Application instances manager"
5 years ago
Chocobo1
46ee193cd8
Restrict QLocalServer access
...
The default is world access which means even even unprivileged local
accounts can connect to it too.
5 years ago
Chocobo1
6119cb370f
Drop suspiciously large data
...
This is to avoid exhausting system memory.
5 years ago
Chocobo1
d0bfe9a661
Adjust open file descriptor limit on startup
...
This raises qbt's open file descriptor limit to the available maximum
(within user privileges) and thus users don't need to adjust it
manually anymore.
5 years ago
silverqx
4f4f435e76
Add zlib version to GUI & stackdump
6 years ago
Chocobo1
6738cdd715
Constify exception references
6 years ago
sledgehammer999
f403fdb2e8
Remove wrong ifdef
6 years ago
Chocobo1
b7d739ab3f
Fix build error
...
Apparently the function is not available on Windows platforms.
6 years ago
Chocobo1
874bc84efc
Remove excessive usage of pointer
6 years ago
Chocobo1
a3019f56b0
Clean up code
6 years ago
knackebrot
c7b451b18f
Allow headless builds on Windows
...
Daemonizing is disabled because no direct equivalent exists in win32.
6 years ago
Chocobo1
adbd34c795
Move helper functions to Utils::Gui namespace
6 years ago
sledgehammer999
5c63ad3b95
Raise minimum Qt version to 5.9.0
6 years ago
Peter Eszlari
9f250713d2
Linux/Wayland: make window title bar icon work
6 years ago
thalieht
89dce36e98
Use uniform initialization on some default arguments
6 years ago
Chocobo1
e5dca50025
Convert to use private pointer for ui object
6 years ago
Chocobo1
5e3fddf456
Replace QScopedPointer with std::unqiue_ptr
...
These 2 types are very similar and we should prefer the one from C++
standard library, this reduces the number of types in our code base.
Also see:
https://stackoverflow.com/questions/40346393/should-i-use-qscopedpointer-or-stdunique-ptr#comment67966940_40346991
6 years ago
thalieht
9959a901fe
Replace deprecated header 'signal.h' with 'csignal'
6 years ago
thalieht
d8cbc9266a
Use 'auto' to avoid duplicating the type name
6 years ago
thalieht
8a3f942385
Don't use 'else' after return/break
6 years ago
thalieht
ca3ce87e06
Add const to many vars and arguments
...
Also remove const in declarations' arguments that are passed by value
6 years ago
Chocobo1
52de31ac79
Add migration code for WebUI https related change
6 years ago
Chocobo1
48d358872f
Cleanup header inclusion
6 years ago
Chocobo1
04227f5a41
Add QBT_APP_64BIT define
...
Now we use QT_POINTER_SIZE to detect CPU bitness, it has the advantage of applicable to all CPU
architectures not limiting to x86 arch.
6 years ago
Chocobo1
6d7e5f82ae
Include the correct header
...
And remove the unused ones
6 years ago
Chocobo1
cf4db1b418
Remove useless exception handling
6 years ago
sledgehammer999
1fff760722
Drop upgrade code
6 years ago