Craig Drummond
b65b182629
Misc fixes - taken from https://github.com/fenuks/cantata
2021-12-27 17:05:24 +00:00
Craig Drummond
49f729d45c
Fix more deprecation warnings
2021-08-11 18:14:02 +01:00
Michael Pyne
835e480748
Require sys/types.h for dev_t unconditionally.
...
Fixes a build error with musl libc. Turns out this is the required
header for dev_t, and not just for FreeBSD. That it works without on
glibc is just an accident.
Differential Revision: https://phabricator.kde.org/D6596
(cherry picked from commit 2382c3f8d3669c473130f4baefb68d244dcb5cbc)
2021-08-04 19:35:01 +02:00
Craig Drummond
059aceb95d
Fix build issues due to previous change. #1727
2021-07-29 12:13:42 +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
0037676553
fix deprecation: QSet::fromList, use a listToSet template
2021-07-20 08:40:24 -04:00
John Regan
a9051a7c06
fix deprecation: store/load, use storeRelaxed/loadRelaxed
2021-07-20 08:35:07 -04:00
John Regan
223946a884
fix deprecation: QMap with multi-valued keys, use QMultiMap
2021-07-20 08:34:29 -04:00
John Regan
b2bb7b7ccd
fix deprecation: endl is now Qt::endl
2021-07-20 08:15:36 -04:00
John Regan
cc0d116986
fix deprecation: QString::SkipEmptyParts is now Qt::SkipEmptyParts
2021-07-19 15:00:32 -04:00
Thomas Uhle
3b49d61a37
Replace deprecated QTime::start(), QTime::elapsed() by using QElapsedTimer
2020-06-12 16:00:18 +02:00
Thomas Uhle
4eeb6e77c2
Add missing const qualifier
...
Add const qualifier that was missing in pull request #1581 .
2020-04-10 14:30:40 +02:00
Thomas Uhle
01d214f60e
Prevent Cantata from potentially crashing when closing
...
Directly deleting DevicePrivate members from within the destructor of
DeviceManagerPrivate can lead to a crash in Qt's internal memory management.
Better defer destruction by using deleteLater() like it has already been done
in DevicePrivate::setBackendObject().
2020-04-08 12:30:06 +02:00
Craig Drummond
b8645d1358
Fix most, but not all, deprecation warnings.
2020-02-16 09:51:37 +00:00
Andreas Sturmlechner
b85979284e
Fix solid-lite static linking
...
If BUILD_SHARED_LIBS is part of standard system cmake args:
cantata: error while loading shared libraries: libsolidlite.so:
cannot open shared object file: No such file or directory
2019-02-21 11:52:38 +01:00
Craig Drummond
eff0e66d39
Use AUTOMOC
2018-03-07 19:04:14 +00:00
Craig Drummond
ee54ce33f7
Check pointer
2018-02-12 18:31:42 +00:00
Craig Drummond
0b751df675
UDev is required for UDisks2
...
Closes #1175
2018-01-31 17:54:48 +00:00
padertux
4f26eb686e
Refactor code to use C++11 nullptr
2018-01-08 23:01:25 +01:00
padertux
dc8cbed1eb
Refactor code to use C++11 overriding
2018-01-08 22:51:48 +01:00
Craig Drummond
6e100a5ef5
Use for(var: list) and not foreach(var, list)
2017-11-27 22:36:53 +00:00
padertux
62b5096013
Fix build error
2017-08-19 22:43:19 +02:00
Craig Drummond
83581a7a16
Simplify CMakeLists.txt files a little
2017-04-08 10:57:52 +01:00
Craig Drummond
c15c4657ca
Remove further references to Qt4 (no longer supported)
...
Issue #989
2017-04-03 18:52:19 +01:00
craig.p.drummond
b503f813c7
Comment out unused functions/parameters...
...
BUG: 487
2014-05-29 21:03:03 +00:00
craig.p.drummond
07bc4fde75
Link correct QtLibs
2014-02-10 19:08:12 +00:00
craig.p.drummond
30637bda8e
Update copy of Solid to KDE4.10.5
2013-07-22 21:11:34 +00:00
craig.p.drummond
b534390b60
Move 3rd party code into 3rdparty!
2013-04-22 19:49:13 +00:00