Skip to content

Commit

Permalink
Merge pull request #27 from xmsociety/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
IanVzs authored Sep 25, 2024
2 parents c493d97 + 9bd1d6e commit 0198c01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DesktopTools/feather_hotkey/clip_string.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def incremental_copy_files(source_path: str, dest_path: str, number: int):
source_file = random.choice(file_list)
# 构建目标文件路径
file_name = os.path.basename(source_file)
dest_file = os.path.join(dest_path, f"{i+1}_{file_name}")
dest_file = os.path.join(dest_path, f"{i + 1}_{file_name}")
# 复制文件
shutil.copy(source_file, dest_file)

Expand Down
4 changes: 2 additions & 2 deletions DesktopTools/feather_hotkey/custom_list_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ def paint(self, painter, option, index):
super().paint(painter, option, index)

# 获取当前项的文本
item = self.parent().item(index.row())
text = item.text()
# item = self.parent().item(index.row())
# text = item.text()

# 设置半透明的颜色
painter.setPen(QColor(150, 150, 150, 150)) # 半透明的灰色
Expand Down

0 comments on commit 0198c01

Please sign in to comment.