Merge pull request #14321 from merkapto/patch-1
Delete desktop/pisilinux/kaptan-qt6/files directory
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
diff -Nuar a/kaptan/kaptan.py b/kaptan/kaptan.py
|
||||
--- a/kaptan/kaptan.py 2021-04-03 21:29:51.000000000 +0300
|
||||
+++ b/kaptan/kaptan.py 2023-10-31 11:29:42.336651225 +0300
|
||||
@@ -26,14 +26,15 @@
|
||||
class Kaptan(QtWidgets.QWizard):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
+ self.setFixedSize(850, 600)
|
||||
|
||||
self.setWindowTitle(self.tr("Kaptan"))
|
||||
self.setWindowIcon(QIcon.fromTheme("kaptan-icon"))
|
||||
self.setMinimumSize(850, 600)
|
||||
self.setMaximumSize(950, 620)
|
||||
- x = (QtWidgets.QDesktopWidget().size().width() - self.width()) / 2
|
||||
- y = (QtWidgets.QDesktopWidget().size().height() - self.height()) / 2
|
||||
- self.move(x, y)
|
||||
+ # x = (QtWidgets.QDesktopWidget().size().width() - self.width()) / 2
|
||||
+ # y = (QtWidgets.QDesktopWidget().size().height() - self.height()) / 2
|
||||
+ # self.move(x, y)
|
||||
self.setPixmap(QtWidgets.QWizard.LogoPixmap, QPixmap("/usr/share/kaptan/images/kaptan.png"))
|
||||
|
||||
self.setButtonText(QtWidgets.QWizard.NextButton, self.tr("Next"))
|
||||
@@ -1,14 +0,0 @@
|
||||
diff -Nuar a/kaptan5/kaptan.py b/kaptan5/kaptan.py
|
||||
--- a/kaptan5/kaptan.py 2017-04-05 12:46:42.000000000 +0300
|
||||
+++ b/kaptan5/kaptan.py 2018-02-06 01:23:49.000000000 +0300
|
||||
@@ -36,8 +36,8 @@
|
||||
self.setWindowIcon(QIcon.fromTheme("kaptan-icon"))
|
||||
self.setMinimumSize(850, 600)
|
||||
self.setMaximumSize(950, 620)
|
||||
- x = (QDesktopWidget().screen().width() - self.width())/2
|
||||
- y = (QDesktopWidget().screen().height() - self.height())/2
|
||||
+ x = (QDesktopWidget().screenGeometry().width() - self.width())/2
|
||||
+ y = (QDesktopWidget().screenGeometry().height() - self.height())/2
|
||||
self.move(x, y)
|
||||
self.setPixmap(QWizard.LogoPixmap, QPixmap(":/data/images/kaptan.png"))
|
||||
|
||||
Reference in New Issue
Block a user