mirror of
				https://github.com/YACReader/yacreader
				synced 2025-10-31 08:14:29 -04:00 
			
		
		
		
	Use auto to avoid duplicating the type name
This commit is contained in:
		| @ -13,8 +13,8 @@ TitleHeader::TitleHeader(QWidget *parent) | ||||
|     mainTitleLabel->setStyleSheet("QLabel {color:white; font-size:18px;font-family:Arial;}"); | ||||
|     subTitleLabel->setStyleSheet("QLabel {color:white; font-size:12px;font-family:Arial;}"); | ||||
|  | ||||
|     QHBoxLayout *titleLayout = new QHBoxLayout; | ||||
|     QVBoxLayout *titleLabelsLayout = new QVBoxLayout; | ||||
|     auto titleLayout = new QHBoxLayout; | ||||
|     auto titleLabelsLayout = new QVBoxLayout; | ||||
|  | ||||
|     titleLabelsLayout->addWidget(mainTitleLabel); | ||||
|     titleLabelsLayout->addWidget(subTitleLabel); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user