From: Nikolay Tischenko Date: Sat, 5 Mar 2011 14:19:14 +0000 (+0600) Subject: Dublicated 'Online help' button in main menu X-Git-Url: http://vcs.maemo.org/git/?p=someplayer;a=commitdiff_plain;h=5bca91384323a76865a8b35b364d6fb8dbd73a28 Dublicated 'Online help' button in main menu --- diff --git a/src/aboutform.h b/src/aboutform.h index 9b84946..9156e3d 100644 --- a/src/aboutform.h +++ b/src/aboutform.h @@ -19,9 +19,9 @@ public: public slots: void updateTranslations(); void updateIcons(); + void onlineHelp(); private slots: - void onlineHelp(); void donate(); private: diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index e997150..4f561dd 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -71,6 +71,7 @@ MainWindow::MainWindow(QWidget *parent) : connect(_player_form, SIGNAL(clearPlaylist()), this, SLOT(_clear_current_playlist())); connect(ui->actionSetTimer, SIGNAL(triggered()), this, SLOT(_set_timer())); connect(ui->actionEqualizer, SIGNAL(triggered()), this, SLOT(_equalizer())); + connect(ui->actionOnlineHelp, SIGNAL(triggered()), _about_form, SLOT(onlineHelp())); connect(_library, SIGNAL(done()), _library_form, SLOT(refresh())); connect(_player_form, SIGNAL(refreshLibrary()), _library_form, SLOT(refresh())); connect(_manage_library_form, SIGNAL(refreshLibrary()), _library_form, SLOT(refresh())); diff --git a/src/ui/mainwindow.ui b/src/ui/mainwindow.ui index e7af79f..a672aa9 100644 --- a/src/ui/mainwindow.ui +++ b/src/ui/mainwindow.ui @@ -61,10 +61,17 @@ + + + Help + + + + @@ -99,6 +106,11 @@ Ctrl+S + + + Online help + +