gta5view 1.10.0 release
This commit is contained in:
		
							parent
							
								
									aa83221db2
								
							
						
					
					
						commit
						de17747c38
					
				
					 1 changed files with 5 additions and 4 deletions
				
			
		| 
						 | 
					@ -78,11 +78,12 @@ UserInterface::UserInterface(ProfileDatabase *profileDB, CrewDatabase *crewDB, D
 | 
				
			||||||
    defaultWindowTitle = tr("%2 - %1").arg("%1", GTA5SYNC_APPSTR);
 | 
					    defaultWindowTitle = tr("%2 - %1").arg("%1", GTA5SYNC_APPSTR);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    setWindowTitle(defaultWindowTitle.arg(tr("Select Profile")));
 | 
					    setWindowTitle(defaultWindowTitle.arg(tr("Select Profile")));
 | 
				
			||||||
    QString appVersion = GTA5SYNC_APPVER;
 | 
					    QString appVersion = QApplication::applicationVersion();
 | 
				
			||||||
#ifndef GTA5SYNC_BUILDTYPE_REL
 | 
					    const char* literalBuildType = GTA5SYNC_BUILDTYPE;
 | 
				
			||||||
 | 
					    const QString buildType = tr(literalBuildType);
 | 
				
			||||||
#ifdef GTA5SYNC_COMMIT
 | 
					#ifdef GTA5SYNC_COMMIT
 | 
				
			||||||
    if (!appVersion.contains("-")) { appVersion = appVersion % "-" % GTA5SYNC_COMMIT; }
 | 
					    if ((strcmp(literalBuildType, REL_BUILDTYPE) != 0) && !appVersion.contains("-"))
 | 
				
			||||||
#endif
 | 
					        appVersion = appVersion % "-" % GTA5SYNC_COMMIT;
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
    ui->labVersion->setText(QString("%1 %2").arg(GTA5SYNC_APPSTR, appVersion));
 | 
					    ui->labVersion->setText(QString("%1 %2").arg(GTA5SYNC_APPSTR, appVersion));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue