aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mgui.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-03-20 19:16:49 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2016-03-20 19:16:49 +0200
commit0c63f75aafd664ad4d5a478cdbd9f3e8fd582736 (patch)
tree642a19afe3266e4d8e6ac93745d51c3742f0230d /mesonbuild/mgui.py
parent0c9c29b6b64a05611dc66ec04747b3970e25ca5c (diff)
downloadmeson-0c63f75aafd664ad4d5a478cdbd9f3e8fd582736.zip
meson-0c63f75aafd664ad4d5a478cdbd9f3e8fd582736.tar.gz
meson-0c63f75aafd664ad4d5a478cdbd9f3e8fd582736.tar.bz2
Converted coverage into a base option.
Diffstat (limited to 'mesonbuild/mgui.py')
-rw-r--r--mesonbuild/mgui.py13
1 files changed, 1 insertions, 12 deletions
diff --git a/mesonbuild/mgui.py b/mesonbuild/mgui.py
index 6e57ce7..d85fa54 100644
--- a/mesonbuild/mgui.py
+++ b/mesonbuild/mgui.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
-# Copyright 2013-2015 The Meson development team
+# Copyright 2013-2016 The Meson development team
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -249,10 +249,6 @@ class OptionForm:
strip.setChecked(self.coredata.get_builtin_option('strip'))
strip.stateChanged.connect(self.strip_changed)
self.form.addRow('Strip on install', strip)
- coverage = QCheckBox("")
- coverage.setChecked(self.coredata.get_builtin_option('coverage'))
- coverage.stateChanged.connect(self.coverage_changed)
- self.form.addRow('Enable coverage', coverage)
pch = QCheckBox("")
pch.setChecked(self.coredata.get_builtin_option('use_pch'))
pch.stateChanged.connect(self.pch_changed)
@@ -317,13 +313,6 @@ class OptionForm:
ns = True
self.coredata.strip = ns
- def coverage_changed(self, newState):
- if newState == 0:
- ns = False
- else:
- ns = True
- self.coredata.coverage = ns
-
def pch_changed(self, newState):
if newState == 0:
ns = False