negativerad / eepe

Automatically exported from code.google.com/p/eepe
0 stars 0 forks source link

Printing model entry -Timer counting direction always "Count down" regardless of selection in Setup screen #99

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Select "Count Up" in Timer direction entry in the Setup screen and print model 
entry.

Prints "Timer: 00:00, THs, Count Down" even if count up is selected in the 
Setup screen.

Eepe version 254, Mac Os X 10.6.8

Original issue reported on code.google.com by c...@mostlysoftware.com on 5 Jul 2011 at 2:23

GoogleCodeExporter commented 9 years ago
In printdialog.cpp line 60 "QString str = ", " + g_model->tmrDir ? ", Count 
Down" : " Count Up";" always returns "Count Down".  Not sure why.

Try something simpler that works like:
    QString str = " ,";
    if(g_model->tmrDir)
        str.append("Count Up");
    else
        str.append("Count Down");

Original comment by c...@mostlysoftware.com on 5 Jul 2011 at 4:06

GoogleCodeExporter commented 9 years ago
Just changing line 60 to
QString str = ", " + g_model->tmrDir==0 ? ", Count Down" : " Count Up";

fixes the issue

Original comment by romolo.m...@gmail.com on 21 Oct 2011 at 10:43

GoogleCodeExporter commented 9 years ago

Original comment by erezra...@gmail.com on 22 Oct 2011 at 12:25