Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

archive: use qtlib.geticon() to load icon

Changeset 13c6390e53cf

Parent c6d602da3f59

by Yuki KODAMA

Changes to one file · Browse files at 13c6390e53cf Showing diff from parent c6d602da3f59 Diff from another changeset...

 
162
163
164
165
166
167
168
 
169
170
171
 
162
163
164
 
 
 
 
165
166
167
168
@@ -162,10 +162,7 @@
  # dialog setting   reponame = hglib.get_reponame(self.repo)   self.setWindowTitle(_('Archive - %s') % hglib.tounicode(reponame)) - iconfile = paths.get_tortoise_icon('menucheckout.ico') - icon = QIcon() - icon.addPixmap(QPixmap(iconfile), QIcon.Normal, QIcon.Off) - self.setWindowIcon(icon) + self.setWindowIcon(qtlib.geticon('menucheckout'))   self.setWindowFlags(self.windowFlags() & ~Qt.WindowContextHelpButtonHint)   self.setLayout(self.vbox)   self.layout().setSizeConstraint(QLayout.SetFixedSize)