chore: use application display name instead
This commit is contained in:
		@ -1144,7 +1144,7 @@ void Caesium::countUpdate()
 | 
			
		||||
    item_count = ui->listTreeWidget->topLevelItemCount();
 | 
			
		||||
    if (opened_list != "" && QFileInfo(opened_list).baseName() != "tmplst")
 | 
			
		||||
    {
 | 
			
		||||
        this->setWindowTitle(QFileInfo(opened_list).baseName() + tr(" - Caesium - Image Compressor"));
 | 
			
		||||
        this->setWindowTitle(QFileInfo(opened_list).baseName());
 | 
			
		||||
    }
 | 
			
		||||
    previous_list = opened_list;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -16,9 +16,6 @@
 | 
			
		||||
    <height>0</height>
 | 
			
		||||
   </size>
 | 
			
		||||
  </property>
 | 
			
		||||
  <property name="windowTitle">
 | 
			
		||||
   <string>Caesium - Image Compressor</string>
 | 
			
		||||
  </property>
 | 
			
		||||
  <property name="windowIcon">
 | 
			
		||||
   <iconset resource="icons.qrc">
 | 
			
		||||
    <normaloff>:/icons/caesium_icon.png</normaloff>:/icons/caesium_icon.png</iconset>
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2387
									
								
								caesium_bk.ui
									
									
									
									
									
								
							
							
						
						
									
										2387
									
								
								caesium_bk.ui
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										1
									
								
								main.cpp
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								main.cpp
									
									
									
									
									
								
							@ -49,6 +49,7 @@ int main(int argc, char *argv[])
 | 
			
		||||
    settings.setIniCodec("UTF-8");
 | 
			
		||||
#endif // QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
 | 
			
		||||
 | 
			
		||||
    a.setApplicationDisplayName(QCoreApplication::translate("main", "Caesium - Image Compressor"));
 | 
			
		||||
    a.addLibraryPath(a.applicationDirPath() + "/lib/");
 | 
			
		||||
 | 
			
		||||
    QString locale = settings.value("Preferences/language").value<QString>();
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user