summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/widget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widget.cpp b/src/widget.cpp
index 4875dfd..f5e9cf1 100644
--- a/src/widget.cpp
+++ b/src/widget.cpp
@@ -50,14 +50,14 @@ Widget::Widget(QWidget *parent) :
// adresses cases in which eiter of the outouts is a beamer. Meaning
// either output one has dimension zero or output tow has no dimension.
// The case of two beamers is not covered.
- if (true/*((_outputMap[_connectedOutputList[0]]->mm_width == 0
+ if (true((_outputMap[_connectedOutputList[0]]->mm_width == 0
&& _outputMap[_connectedOutputList[0]]->mm_height == 0 )
&& ! (_outputMap[_connectedOutputList[1]]->mm_width == 0
&& _outputMap[_connectedOutputList[1]]->mm_height == 0 ))
|| ( ! (_outputMap[_connectedOutputList[0]]->mm_width == 0
&& _outputMap[_connectedOutputList[0]]->mm_height == 0 )
&& (_outputMap[_connectedOutputList[1]]->mm_width == 0
- && _outputMap[_connectedOutputList[1]]->mm_height == 0 ))*/) {
+ && _outputMap[_connectedOutputList[1]]->mm_height == 0 ))) {
qDebug() << "BEAMER CONNECTED!";
// Get a human readable reference
@@ -226,7 +226,7 @@ Widget::Widget(QWidget *parent) :
}
// If the beamer transmits no reliable EDID data add modes
- if (false/*gotEDID*/) {
+ if (gotEDID) {
std::cout << "GOT EDID!" << std::endl;
// Extract the preferred mode of the beamer
RRMode preferredBeamerModeId;