mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Make the beta show a nicer version in the about screen
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									0cedd9d37d
								
							
						
					
					
						commit
						f912c05ea6
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -9,13 +9,16 @@ SubsurfaceAbout::SubsurfaceAbout(QWidget *parent, Qt::WindowFlags f) : QDialog(p | |||
| 	ui.setupUi(this); | ||||
| 
 | ||||
| 	setWindowModality(Qt::ApplicationModal); | ||||
| 	QString versionString(GIT_VERSION_STRING); | ||||
| 	if (versionString == "4.3.950") | ||||
| 		versionString = "4.4 Beta 1"; | ||||
| 
 | ||||
| 	ui.aboutLabel->setText(tr("<span style='font-size: 18pt; font-weight: bold;'>" | ||||
| 				  "Subsurface %1 </span><br><br>" | ||||
| 				  "Multi-platform divelog software<br>" | ||||
| 				  "<span style='font-size: 8pt'>" | ||||
| 				  "Linus Torvalds, Dirk Hohndel, Tomaz Canabrava, and others, 2011-2015" | ||||
| 				  "</span>").arg(GIT_VERSION_STRING)); | ||||
| 				  "</span>").arg(versionString)); | ||||
| 
 | ||||
| 	QShortcut *close = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_W), this); | ||||
| 	connect(close, SIGNAL(activated()), this, SLOT(close())); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue