Skip to content

Commit 80ca3a0

Browse files
authored
Merge pull request #1692 from softins/about-qt-2
Fix spacing and make title translatable.
2 parents f848ed4 + 5955f7e commit 80ca3a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ class CHelpMenu : public QMenu
438438
public slots:
439439
void OnHelpWhatsThis() { QWhatsThis::enterWhatsThisMode(); }
440440
void OnHelpAbout() { AboutDlg.exec(); }
441-
void OnHelpAboutQt() { QMessageBox::aboutQt(this, QString("About Qt")); }
441+
void OnHelpAboutQt() { QMessageBox::aboutQt ( nullptr, QString ( tr ( "About Qt" ) ) ); }
442442
void OnHelpClientGetStarted() { QDesktopServices::openUrl ( QUrl ( CLIENT_GETTING_STARTED_URL ) ); }
443443
void OnHelpServerGetStarted() { QDesktopServices::openUrl ( QUrl ( SERVER_GETTING_STARTED_URL ) ); }
444444
void OnHelpSoftwareMan() { QDesktopServices::openUrl ( QUrl ( SOFTWARE_MANUAL_URL ) ); }

0 commit comments

Comments
 (0)