mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-23 23:54:44 +00:00
Set GUI application name and version.
This commit is contained in:
parent
977ae26c46
commit
2a1e247066
1 changed files with 4 additions and 0 deletions
|
|
@ -21,12 +21,16 @@ Check HTML pages for broken links. This is the GUI client.
|
|||
import sys
|
||||
from PyQt4.QtGui import QApplication, QStyleFactory
|
||||
from linkcheck.gui import LinkCheckerMain
|
||||
from linkcheck import configuration
|
||||
|
||||
|
||||
def main (argv=None):
|
||||
if argv is None:
|
||||
argv = sys.argv
|
||||
app = QApplication(argv)
|
||||
app.setApplicationName(configuration.AppName)
|
||||
app.setApplicationVersion(configuration.Version)
|
||||
app.setOrganizationName(configuration.Author)
|
||||
## Look and feel changed to CleanLooks
|
||||
QApplication.setStyle(QStyleFactory.create("Cleanlooks"))
|
||||
QApplication.setPalette(QApplication.style().standardPalette())
|
||||
|
|
|
|||
Loading…
Reference in a new issue