mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
691783ef37
commit
d4c4403a1f
@ -165,8 +165,14 @@ class ProceedQuestion(QDialog):
|
||||
self.log_viewer = ViewLog(q.log_viewer_title, log,
|
||||
parent=self)
|
||||
|
||||
if __name__ == '__main__':
|
||||
def main():
|
||||
from calibre.gui2 import Application
|
||||
app = Application([])
|
||||
ProceedQuestion(None).exec_()
|
||||
p = ProceedQuestion(None)
|
||||
p(lambda p:None, None, 'ass', 'ass', 'testing', 'testing')
|
||||
p.exec_()
|
||||
app
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user