summaryrefslogtreecommitdiffstats
path: root/src/outputlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/outputlist.cpp')
-rw-r--r--src/outputlist.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/outputlist.cpp b/src/outputlist.cpp
index b404210..22a8008 100644
--- a/src/outputlist.cpp
+++ b/src/outputlist.cpp
@@ -110,6 +110,16 @@ void OutputList::enableAll()
}
}
+void OutputList::disableAll()
+{
+ OutputGenerator *og=outputs->first();
+ while (og)
+ {
+ og->disable();
+ og=outputs->next();
+ }
+}
+
void OutputList::disable(OutputGenerator::OutputType o)
{
OutputGenerator *og=outputs->first();