Skip to content

Commit

Permalink
Merge pull request #30 from IanVzs/dev
Browse files Browse the repository at this point in the history
😯 wocao? 过了?
  • Loading branch information
IanVzs authored Sep 26, 2024
2 parents e1a97dc + 5ac4063 commit d6544b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 4 additions & 2 deletions DesktopTools/feather_hotkey/win_searchbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import shelve

from PySide6.QtCore import QModelIndex, Qt
from PySide6.QtGui import QIcon, QKeySequence, QShortcut, QClipboard
from PySide6.QtGui import QClipboard, QIcon, QKeySequence, QShortcut
from PySide6.QtWidgets import QAbstractItemView, QCompleter, QListWidgetItem, QWidget

from ..logger import logger
Expand Down Expand Up @@ -51,7 +51,9 @@ class WinSearchBar(QWidget):
Record_KV = "记录kv"
Read_KV = "读取kv"

def __init__(self, clipboard: QClipboard=None, tray=None, dict_windows={}, *args, **kwargs):
def __init__(
self, clipboard: QClipboard = None, tray=None, dict_windows={}, *args, **kwargs
):
super().__init__(*args, **kwargs)
self.ui = Ui_SearchBar()
self.ui.setupUi(self)
Expand Down
5 changes: 2 additions & 3 deletions DesktopTools/windows_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
import time

from PySide6.QtCore import Qt
from PySide6.QtWidgets import QApplication
from PySide6.QtWidgets import QMessageBox, QWidget
from PySide6.QtWidgets import QApplication, QMessageBox, QWidget

from .app.msg_systray import TrayIcon
from .feather_hotkey.thread import SignalHotKey
Expand All @@ -30,7 +29,7 @@ class WinMain(QWidget):
所有的子`QWidget`理论上都可以独立运行
"""

def __init__(self, screen=False, app: QApplication=None):
def __init__(self, screen=False, app: QApplication = None):
super().__init__(None)

self.screen = screen
Expand Down

0 comments on commit d6544b0

Please sign in to comment.