640 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
b65b182629 Misc fixes - taken from https://github.com/fenuks/cantata 2021-12-27 17:05:24 +00:00
Craig Drummond
f9e7637468 Don't save queue if string entered in dave dialog but cancel button
pressed.

Closes #1739
2021-09-03 19:55:19 +01: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
195b66277c fix deprecation: QPalette::Background obsolete 2021-07-20 15:26:25 -04:00
John Regan
a20997aee4 utils: move minSize to above windows.h (windows.h defines min/max as macros) 2021-07-20 14:08:53 -04:00
John Regan
3d8a4cdca5 fix deprecation: QSysInfo::MV_10_8 obsolete 2021-07-20 13:01:43 -04: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
Craig Drummond
07838308fd Remember, and restore, main window position.
Closes #1653
2020-11-22 14:57:35 +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
Thomas Uhle
67d1d3c8f0 Replace deprecated QWheelEvent::delta() by QWheelEvent::angleDelta() 2020-06-12 15:55:03 +02:00
Thomas Uhle
94287bb8eb Replace deprecated sprintf() by QString::arg() 2020-06-12 15:45:37 +02:00
Thomas Uhle
c89d3f76b3 Query Qt whether system tray is available if not (Unity flavored) GNOME
- Since 2017, Unity is yet a special Ubuntu flavor of GNOME. That is why
  system tray support with QSystemTrayIcon is only provided if the Ayatana
  Indicator application or the GNOME Shell extension AppIndicator or
  something similar that implements org.kde.StatusNotifierWatcher is
  installed and running. Hence, Unity should be treated the same as plain
  GNOME.
- Although Qt prefers to internally use QDBusTrayIcon for QSystemTrayIcon,
  there is also a fallback implementation using XCB if Qt has X11 support
  and org.kde.StatusNotifierWatcher is not registered on D-Bus. There are
  settings with some desktop environments where none of these mechanisms
  are available. So it is not safe to assume QSystemTrayIcon is working if
  Utils::currentDe() returns Utils::Other. Perhaps the only way then is to
  simply rely on QSystemTrayIcon::isSystemTrayAvailable().
2020-06-08 12:00:09 +02:00
Thomas Uhle
a6da2401c5 Align path construction in Utils::systemDir() and Utils::helper()
Always handle the construction of the path in the same way no matter which OS
Cantata is built for, and only then pass the complete path to Utils::fixPath().
2020-04-08 14:11:01 +02:00
Craig Drummond
b8645d1358 Fix most, but not all, deprecation warnings. 2020-02-16 09:51:37 +00: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
09df75d3bd Fix saving, and reading back, https:// as MPD music folder.
Closes #1444
2019-01-30 17:47:42 +00:00
Craig Drummond
7b28248aba Add another qt5ct palette work-around.
Issue #1381
2018-10-02 16:47:21 +01:00
Craig Drummond
6390b4c6e8 Allow .jpeg as extension from cover dialog.
Closes #1368
2018-09-12 19:48:41 +01:00
Craig Drummond
9ed478a050 Add doc explaining FontAwsome mods, and include license file 2018-09-02 10:16:20 +01:00
Craig Drummond
83f9de3b4a Fix windows colours 2018-06-05 18:40:11 +01:00
Craig Drummond
b48056a05d Better list icon? 2018-06-01 19:04:01 +01:00
Craig Drummond
b75f46bdc3 Style more icons 2018-05-25 17:31:39 +01:00
Craig Drummond
f99669e1b0 Fix inactive icon colours 2018-05-25 17:23:56 +01:00
Craig Drummond
c8e011b75c Allow icons on buttons for KDE 2018-05-25 17:20:53 +01:00
Craig Drummond
7e905f40cd Remove QIcon::fromTheme usage 2018-05-24 19:11:59 +01:00
Craig Drummond
0aadefef3c Make 'Icon' a namespace not class 2018-05-24 19:05:54 +01:00
Craig Drummond
b8c9ee4e7c Get icons from style 2018-05-24 18:10:22 +01:00
Craig Drummond
50d5a06fbb Better metrics? 2018-05-23 19:28:21 +01:00
Craig Drummond
bddf1b86a2 No need to differentiate between GNOME and Ubuntu GNOME 2018-05-21 17:28:10 +01:00
Craig Drummond
56225cd298 ...add qrc file! 2018-05-16 17:17:56 +01:00
Craig Drummond
be0bd7beaf Formatting 2018-05-16 17:17:44 +01:00
Craig Drummond
1ab0bbfd64 Embed FontAwesome into Cantata. 2018-05-16 17:16:52 +01:00
Craig Drummond
1db2b4a02a Build all apps into same folder, to allow dev versions to run without
install
2018-05-16 17:01:49 +01:00
Craig Drummond
43e4e2456d Remove custom icon theme, and just use FontAwesome.
Issue #1277
2018-05-14 22:24:49 +01:00
Craig Drummond
4b40c7099c Modify name of supplied font-awesome font to Cantata-FontAwesome, so as to
avoid conflicts with any system installed font.
Issue #1276
2018-05-13 10:32:26 +01:00
Craig Drummond
d1bdc63c15 Fix http: check 2018-05-03 19:31:20 +01:00
Craig Drummond
ed8076e49d Make icon-only sidebar items a little wider 2018-03-25 16:10:26 +01:00
Craig Drummond
714b675be8 Fix small side-bar when at top, or bottom. 2018-03-20 19:16:59 +00:00
Craig Drummond
5e737f0557 Set message box icon size to 64px. 2018-03-13 19:32:42 +00:00
Craig Drummond
eff0e66d39 Use AUTOMOC 2018-03-07 19:04:14 +00:00
Craig Drummond
0963e25642 macOS fixes 2018-02-17 15:38:17 +00:00