From 181a2a80f320c55436c2204b2063cf1cfd1ad137 Mon Sep 17 00:00:00 2001 From: Manuel Schneider Date: Mon, 2 Dec 2013 21:27:15 +0100 Subject: deleted debug branches --- src/widget.cpp | 6 +++--- 1 file 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; -- cgit v1.2.3-55-g7522