72 Commits

Author SHA1 Message Date
Craig Drummond
b6bd94c236 Update (c) year 2022-01-08 21:24:07 +00:00
Craig Drummond
dbdc211da2 Use QCollator to compare strings. 2021-12-27 20:39:51 +00:00
Craig Drummond
31b8a6d9b9 Revert "Revert "Merge pull request #1727 from jprjr/fix-deprecated-warnings""
This reverts commit be9c1e74e0.
2021-07-29 12:00:04 +01:00
Craig Drummond
be9c1e74e0 Revert "Merge pull request #1727 from jprjr/fix-deprecated-warnings"
This reverts commit cb18837d11, reversing
changes made to b296cf7113.
2021-07-28 19:44:57 +01:00
John Regan
0037676553 fix deprecation: QSet::fromList, use a listToSet template 2021-07-20 08:40:24 -04:00
Craig Drummond
b5775c7757 Move escapeActionText to Utils namespace 2021-06-14 08:35:14 +01:00
fenuks
8afd749743 Make cantata configuration wizard usable on smaller screens 2021-02-17 15:10:58 +01:00
Craig Drummond
11bb7571c9 Update (c) year 2021-01-01 10:06:43 +00:00
Thomas Uhle
afc0b2fcc1 Replace Utils::random() by QRandomGenerator::global()
qrand() and qsrand() which are used by Utils::random() and Utils::initRand()
respectively are deprecated. Utils::random() and Utils::initRand() are no
longer necessary because QRandomGenerator supports everything what is
needed.
2020-06-12 16:10:56 +02:00
Craig Drummond
d7b3965b9b Update (c) year 2020-01-01 11:51:13 +00:00
Craig Drummond
1d0ee7cf98 Sanitise hash usage
Closes #1549
2019-11-04 16:05:32 +00:00
Craig Drummond
cb9efe205f Update (c) year 2019-09-15 15:56:58 +01:00
Craig Drummond
48fd4942d7 Apply 'Single Tracks' tweak to play queue items
Issue #1471
2019-03-20 17:01:18 +00:00
Craig Drummond
6390b4c6e8 Allow .jpeg as extension from cover dialog.
Closes #1368
2018-09-12 19:48:41 +01:00
Craig Drummond
bddf1b86a2 No need to differentiate between GNOME and Ubuntu GNOME 2018-05-21 17:28:10 +01:00
Craig Drummond
2139d3dbb8 Update (c) year 2018-01-01 10:11:39 +00:00
Craig Drummond
498d62b724 nly enable system tray for Linux if org.kde.StatusNotifierWatcher DBUS
service is registered.
2017-09-08 20:25:20 +01:00
Craig Drummond
8f7865099f Disable system-tray icon code for GNOME shell (but not Ubuntu's GNOME
shell session).
2017-09-01 22:57:54 +01:00
Craig Drummond
5001c5b593 Revert "Remove Cantata's high-dpi handling code, this should be done by Qt."
This reverts commit 28df204fc4.

Issue #1077
2017-08-30 19:25:26 +01:00
Craig Drummond
e0b7550515 Remove Cantata's high-dpi handling code, this should be done by Qt.
Issue #1063
2017-08-15 23:20:18 +01:00
rezodlub
e8cc1ab8ef Fixes:
empty folders on MPD side (crash inserting/removing to/from model)
usage of sys/time.h changed to QTime
no unistd.h in Visual Studio
if QT was build without SSL support, there is no QSslSocket class (at least in 5.6 and 5.8)
missing strncasecmp in Visual Studio
utime.sys is actually sys/utime.h in Visual Studio
2017-06-11 15:31:35 +02:00
Craig Drummond
edba120db9 Remove touch support - does not work that well, and QtWidgets are not designed for touch 2017-04-11 17:15:21 +01:00
Craig Drummond
0a73215867 Update (c) year 2017-04-02 18:45:30 +01:00
Craig Drummond
a517bf4f17 Remove KDE4 and Ubuntu Touch support 2017-04-01 22:55:27 +01:00
Craig Drummond
860a0890a9 Clamp colour of all mono icons 2016-07-22 16:37:48 +01:00
Craig Drummond
705648420a Update (c) year 2016-01-08 18:55:13 +00:00
Craig Drummond
551f49644a Fix windows build, and other, issues 2015-10-21 21:29:09 +01:00
Craig Drummond
9533f12881 Update (c) year 2015-08-13 21:12:34 +01:00
Craig Drummond
605af484f7 Initial import of *VERY* incomplete, and not fully functional Cantata
webapp. Mainly used to test SQLite backend for storing MPD db.
2015-06-01 22:57:49 +01:00
craig.p.drummond
f943592f7d CMake option to enabkle touch-friendly support. Disable by default (apart from in Windows) as it only really works under windows. 2015-04-05 20:09:16 +00:00
craig.p.drummond
43dc5cee6c Oops! 2014-09-24 18:40:45 +00:00
craig.p.drummond
7f41428e8b - Fix saving of file paths
- Convert home-path to/from ~ for files too
BUG: 544
2014-09-17 18:28:44 +00:00
craig.p.drummond
9b2ea337fd ~ / QDir::homePath()
BUG: 538
2014-09-12 20:40:43 +00:00
craig.p.drummond
828661ebc4 Use QDesktopWidget::logicalDpiX()/96.0 to set DPI scale factor. 2014-09-02 18:32:00 +00:00
craig.p.drummond
e45de04098 Resize device properties dialog when changing transcoder. 2014-09-01 18:32:38 +00:00
craig.p.drummond
0d681a4d78 Add note-label classes to ensure consistency 2014-08-21 16:40:46 +00:00
craig.p.drummond
7ec99f93bd Move buildPath into Utils 2014-06-25 16:45:59 +00:00
craig.p.drummond
2308642c5c Use QDesktopServices to start browser / file-manager 2014-06-10 19:48:00 +00:00
craig.p.drummond
a97a7e5d27 s/Q_OS_WIN32/Q_OS_WIN/g 2014-06-10 19:45:33 +00:00
craig.p.drummond
27bc161f39 Fix wikpedia/last.fm link in track view 2014-06-10 19:45:08 +00:00
craig.p.drummond
8af2ea14f2 Refactor high-dpi stuff 2014-06-04 18:45:30 +00:00
craig.p.drummond
5684af6f32 Try to store user-folder mess.
- Remove configDir, this is never used
- Use Qt functions for windows, mac, and ubuntu builds
- For Linux builds, cache returned locations and fix so that ~/.local/share/data/cantata/cantata -> ~/.local/share/cantata and ~/.cache/cantata/cantata -> ~/.cache/cantata
2014-06-01 10:07:13 +00:00
craig.p.drummond
eb3265f379 - install XML files to config folder
- unify usage of these folders
2014-05-20 18:18:00 +00:00
craig.p.drummond
abe6f47206 Dont increase icon size for 'touch friendly' - looks awful. Instead, just increase with of toolbuttons by 33% 2014-04-24 19:10:27 +00:00
craig.p.drummond
1503614310 Init random number generator 2014-03-27 19:53:58 +00:00
craig.p.drummond
3b700eefb8 REduce KDE differences 2014-03-26 19:34:28 +00:00
craig.p.drummond
8174604bfb Use qrand for random numbers 2014-03-24 20:40:16 +00:00
craig.p.drummond
c1a1f90f4c More Song::formattedTime into Utils class 2014-03-19 19:47:47 +00:00
craig.p.drummond
d71c452f4a Attempt to respect menubar usage of current desktop. For windows and Gnome, menu button is used, and menubar hidden. For Mac and Unity, menubar is used, and menu button is hidden. For KDE, by default the menu button is used, and the menu bar hidden - but a menu entry is provided to toggle. This setting maybe overridden - see README for details. 2014-03-03 19:32:39 +00:00
craig.p.drummond
efd36899dc USe different small scale factor depending upon current font size 2014-02-25 19:27:29 +00:00