diff options
| author | Alexander Lohnau <[email protected]> | 2020-10-23 19:51:33 +0200 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2020-10-23 18:23:06 +0000 |
| commit | 97415729c34851df75c77a67f27d6299c00bfbc4 (patch) | |
| tree | b7a344b54e226aee8db16f6f123a403d8f276aa9 /src/statusbar | |
| parent | a24327cd50ef17b953ecb908d260b73460158107 (diff) | |
Compile with QT_NO_KEYWORDS
Diffstat (limited to 'src/statusbar')
| -rw-r--r-- | src/statusbar/mountpointobserver.cpp | 4 | ||||
| -rw-r--r-- | src/statusbar/spaceinfoobserver.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/statusbar/mountpointobserver.cpp b/src/statusbar/mountpointobserver.cpp index f8b4a811d..7dbe631b5 100644 --- a/src/statusbar/mountpointobserver.cpp +++ b/src/statusbar/mountpointobserver.cpp @@ -36,8 +36,8 @@ void MountPointObserver::update() void MountPointObserver::freeSpaceResult(KIO::Job* job, KIO::filesize_t size, KIO::filesize_t available) { if (!job->error()) { - emit spaceInfoChanged(size, available); + Q_EMIT spaceInfoChanged(size, available); } else { - emit spaceInfoChanged(0, 0); + Q_EMIT spaceInfoChanged(0, 0); } } diff --git a/src/statusbar/spaceinfoobserver.cpp b/src/statusbar/spaceinfoobserver.cpp index 6012f9696..457fe12ae 100644 --- a/src/statusbar/spaceinfoobserver.cpp +++ b/src/statusbar/spaceinfoobserver.cpp @@ -74,6 +74,6 @@ void SpaceInfoObserver::spaceInfoChanged(quint64 size, quint64 available) m_dataSize = size; m_dataAvailable = available; - emit valuesChanged(); + Q_EMIT valuesChanged(); } } |
