aboutsummaryrefslogtreecommitdiff
path: root/tests/integration/utils
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/utils')
-rw-r--r--tests/integration/utils/dbus-pulse-volume.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/integration/utils/dbus-pulse-volume.cpp b/tests/integration/utils/dbus-pulse-volume.cpp
index a282f77..c8b6ae6 100644
--- a/tests/integration/utils/dbus-pulse-volume.cpp
+++ b/tests/integration/utils/dbus-pulse-volume.cpp
@@ -150,6 +150,11 @@ bool DBusPulseVolume::setVolume(QString const & role, double volume)
}
}
}
+ else
+ {
+ qWarning() << "SetVolume::setVolume(): role " << role << " was not found.";
+ return false;
+ }
return true;
}