Skip to content

Commit 6c64676

Browse files
committed
2 parents 878df70 + d803eb8 commit 6c64676

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ The documentation can be found on this Github Wiki page:
6363
Here is a simple example program with only one button to test the CustomPyQt library:
6464

6565
```python
66-
from PyCt6 import CMainWindow, CButton, set_appearance_mode, set_color_theme
67-
from PySide6.QtWidgets import QApplication, QVBoxLayout
66+
from PyCt6 import CApplication, CMainWindow, CButton, set_appearance_mode, set_color_theme
67+
from PySide6.QtWidgets import QVBoxLayout
6868
from PySide6.QtCore import Qt
6969

7070
set_appearance_mode("system")
@@ -85,7 +85,7 @@ class MainWindow(CMainWindow):
8585
def command(self):
8686
print("Button Clicked!")
8787

88-
app = QApplication()
88+
app = CApplication()
8989
win = MainWindow()
9090
win.show()
9191
app.exec()

0 commit comments

Comments
 (0)