-rw-r--r-- | korganizer/mainwindow.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 6020a46..57b299f 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -42,4 +42,5 @@ #include "kodialogmanager.h" #include "kdialogbase.h" +#include "kapplication.h" #include "kstandarddirs.h" #include "koprefs.h" @@ -692,4 +693,8 @@ void MainWindow::initActions() connect( action, SIGNAL( activated() ), SLOT( about() ) ); + action = new QAction( "licence", i18n("Licence..."), 0, this ); + action->addTo( helpMenu ); + connect( action, SIGNAL( activated() ), + SLOT( licence() ) ); //menuBar->insertSeparator(); @@ -1061,4 +1066,9 @@ void MainWindow::whatsNew() } +void MainWindow::licence() +{ + KApplication::showLicence(); + +} void MainWindow::about() { |