sqldata_w/mainwindow.cpp
// Update application title with new migration direction
Update application title with new migration direction
Update application title with new migration direction
void MainWindow::UpdateTitle()
 {
    QString title = SQLDATA_VERSION;
    title.append(" - ").append(ui->sourceComboBox->currentText());
    title.append(" to ").append(ui->targetComboBox->currentText());
    License *license = _sqlDataCmd.GetLicense();
	if(license != NULL && license->IsLicenseCheckRequired())
	{
		if(license->IsEmpty())
            title.append(" - FOR EVALUATION USE ONLY");
		else
			title.append(" - Licensed to ").append(license->GetName().c_str());
	}
    setWindowTitle(title);
 }
void MainWindow :: UpdateTitle ( ) { QString title = SQLDATA_VERSION ; title . append ( " " ) . append ( ui -> sourceComboBox -> currentText ( ) ) ; title . append ( " " ) . append ( ui -> targetComboBox -> currentText ( ) ) ; License * license = _sqlDataCmd . GetLicense ( ) ; if ( license != NULL && license -> IsLicenseCheckRequired ( ) ) { if ( license -> IsEmpty ( ) ) title . append ( " " ) ; else title . append ( " " ) . append ( license -> GetName ( ) . c_str ( ) ) ; } setWindowTitle ( title ) ; }
Update application title with new migration direction
Update application title with new migration direction
// Add the license message if required