diff options
author | Manuel Schneider | 2013-12-03 15:26:16 +0100 |
---|---|---|
committer | Manuel Schneider | 2013-12-03 15:26:16 +0100 |
commit | a98a2f802efcff7f9b24b1b9be141c97e67520b4 (patch) | |
tree | 3f065596c13fadd329f985b56b8217be385e631b /src | |
parent | deleted debug branches (diff) | |
download | beamergui-a98a2f802efcff7f9b24b1b9be141c97e67520b4.tar.gz beamergui-a98a2f802efcff7f9b24b1b9be141c97e67520b4.tar.xz beamergui-a98a2f802efcff7f9b24b1b9be141c97e67520b4.zip |
never code past nine
Diffstat (limited to 'src')
-rw-r--r-- | src/widget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget.cpp b/src/widget.cpp index f5e9cf1..3386577 100644 --- a/src/widget.cpp +++ b/src/widget.cpp @@ -50,7 +50,7 @@ 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 (((_outputMap[_connectedOutputList[0]]->mm_width == 0 && _outputMap[_connectedOutputList[0]]->mm_height == 0 ) && ! (_outputMap[_connectedOutputList[1]]->mm_width == 0 && _outputMap[_connectedOutputList[1]]->mm_height == 0 )) |