summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Schneider2013-12-02 21:27:15 +0100
committerManuel Schneider2013-12-02 21:27:15 +0100
commit181a2a80f320c55436c2204b2063cf1cfd1ad137 (patch)
treef240625f6d26419114ed1e00325c120ae3f9611e
parentSegfault fixed. Exclude interlaced modes (diff)
downloadbeamergui-181a2a80f320c55436c2204b2063cf1cfd1ad137.tar.gz
beamergui-181a2a80f320c55436c2204b2063cf1cfd1ad137.tar.xz
beamergui-181a2a80f320c55436c2204b2063cf1cfd1ad137.zip
deleted debug branches
-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;