mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-03 21:40:52 -05:00 
			
		
		
		
	Fix H/V display in messages window.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@2583 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
		
							parent
							
								
									5b977444d1
								
							
						
					
					
						commit
						8782ae2b3c
					
				@ -1,4 +1,4 @@
 | 
				
			|||||||
//-------------------------------------------------------------- MainWindow
 | 
					//--------------------------------------------------------------- MainWindow
 | 
				
			||||||
#include "mainwindow.h"
 | 
					#include "mainwindow.h"
 | 
				
			||||||
#include "ui_mainwindow.h"
 | 
					#include "ui_mainwindow.h"
 | 
				
			||||||
#include "devsetup.h"
 | 
					#include "devsetup.h"
 | 
				
			||||||
 | 
				
			|||||||
@ -31,9 +31,9 @@ void Messages::setText(QString t)
 | 
				
			|||||||
  ui->messagesTextBrowser->clear();
 | 
					  ui->messagesTextBrowser->clear();
 | 
				
			||||||
  QStringList lines = t.split( "\n", QString::SkipEmptyParts );
 | 
					  QStringList lines = t.split( "\n", QString::SkipEmptyParts );
 | 
				
			||||||
  foreach( QString line, lines ) {
 | 
					  foreach( QString line, lines ) {
 | 
				
			||||||
    QString t1=line.mid(0,48);
 | 
					    QString t1=line.mid(0,50);
 | 
				
			||||||
    if(m_cqOnly and t1.indexOf(" CQ ") < 0) continue;
 | 
					    if(m_cqOnly and t1.indexOf(" CQ ") < 0) continue;
 | 
				
			||||||
    int n=line.mid(48,2).toInt();
 | 
					    int n=line.mid(50,2).toInt();
 | 
				
			||||||
    if(n==0) ui->messagesTextBrowser->setTextColor(m_color0);
 | 
					    if(n==0) ui->messagesTextBrowser->setTextColor(m_color0);
 | 
				
			||||||
    if(n==1) ui->messagesTextBrowser->setTextColor(m_color1);
 | 
					    if(n==1) ui->messagesTextBrowser->setTextColor(m_color1);
 | 
				
			||||||
    if(n==2) ui->messagesTextBrowser->setTextColor(m_color2);
 | 
					    if(n==2) ui->messagesTextBrowser->setTextColor(m_color2);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user