Harald Sitter
58e4b9a3a7
extend data paths with standard paths from QStandardPaths
...
Summary:
this is, for now, backwards compatible. in the long run a full move
to QSP instead of manually doing path lookup would be good though.
as that ideally means aligning capitalization between appname and on-disk
paths we'll avoid that for now.
fixes data lookup from XDG paths making the binary partially relocatable
and properly configurable via XDG paths (e.g. corporate branding or what
have you)
Test Plan: - theme path resolution now walks all XDG paths
Reviewers: drosca
Reviewed By: drosca
Differential Revision: https://phabricator.kde.org/D7600
2017-08-29 14:38:46 +02:00
David Rosca
d00e769749
Initial rename to Falkon
2017-08-25 17:32:32 +02:00
srazi
755ec16598
Session manager ( #2293 )
2017-04-07 10:02:27 +02:00
David Rosca
e150e44cc6
Replace Q_OS_MAC with Q_OS_MACOS
2017-02-10 19:00:58 +01:00
David Rosca
a49f1e2763
DataPaths: Use QStandardPaths
2016-01-25 12:13:43 +01:00
David Rosca
97ce417798
Fix use of QList::first()
2015-10-23 12:26:27 +02:00
David Rosca
24de161ad1
DataPaths: Use XDG paths + add Cache path
...
Also drop support for old deprecated config paths.
Closes #1411
2015-09-28 20:41:01 +02:00
David Rosca
8d7cfb0e2a
Remove some Qt 4 specific code
2015-02-26 12:17:47 +01:00
David Rosca
6d06975ccb
DataPaths: Coding style fixes
2014-10-03 09:21:40 +02:00
S. Razi Alavizadeh
768e3ac143
Correct fix for #1479 and finally fix compile issue from two recent commits.
...
- Closes #1482
2014-10-03 04:04:59 +03:30
S. Razi Alavizadeh
a21d803b94
Fix compile issue after last commit.
2014-10-03 03:54:37 +03:30
S. Razi Alavizadeh
04721c6478
Make sure the Config and Temp pathes exist.
...
- Closes #1479
2014-10-03 00:34:09 +03:30
David Rosca
8b3da86976
Unix: Use /tmp/qupzilla-$USER as temp path
...
It makes it possible to run QupZilla on more accounts at the same time
2014-08-31 12:52:01 +02:00
David Rosca
dc48ddbf47
[DataPaths] Use classic array instead of QHash for storing paths
2014-04-26 12:35:14 +02:00
David Rosca
d29abb4e54
[Mac] Use ~/Library/Application Support/QupZilla as ConfigPath
...
+ little cleanup in variable naming (homePath -> oldConfPath)
See #1302
2014-04-26 12:23:06 +02:00
David Rosca
5b25b4bda6
[DataPaths] USE_LIBPATH is always defined on Unix
...
No need to add "/usr/lib/qupzilla" to the Plugins path if
USE_LIBPATH is not set, as "/usr/lib/qupzilla" won't exist on
non-Unix platform.
[ci skip]
2014-04-24 12:03:18 +02:00
korwru
2097ce08d3
Fix msvc compile issue with datapaths
2014-03-19 15:22:16 +04:00
nowrep
fe0b03fdb7
Include QDebug in qzcommon.h
...
It's annoying to always include it just to remove a moment after...
2014-03-16 13:22:41 +01:00
nowrep
969f262cf8
[DataPaths] Don't add trailing slash to paths
...
Qt API is not adding trailing slashes to dir paths either.
2014-03-09 22:17:13 +01:00
nowrep
214279e3bb
[DataPaths] Added new class DataPaths
...
This class holds all paths now (instead of MainApplication)
Renamed ProfileUpdater -> ProfileManager
ProfileManager is now responsible for all operations with profiles
2014-03-09 21:51:42 +01:00