mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
menu links to the FAQ base and Jira
This commit is contained in:
@@ -143,6 +143,8 @@ ActionCollection::initActions()
|
|||||||
m_actionCollection[ "crashNow" ] = new QAction( "Crash now...", this );
|
m_actionCollection[ "crashNow" ] = new QAction( "Crash now...", this );
|
||||||
m_actionCollection[ "whatsnew_0_8" ] = new QAction( tr( "0.8" ) , this );
|
m_actionCollection[ "whatsnew_0_8" ] = new QAction( tr( "0.8" ) , this );
|
||||||
m_actionCollection[ "whatsnew_0_8" ]->setMenuRole( QAction::ApplicationSpecificRole );
|
m_actionCollection[ "whatsnew_0_8" ]->setMenuRole( QAction::ApplicationSpecificRole );
|
||||||
|
m_actionCollection[ "reportBug" ] = new QAction( tr( "Report a Bug" ) , this );
|
||||||
|
m_actionCollection[ "getSupport" ] = new QAction( tr( "Get Suport" ) , this );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -179,6 +181,9 @@ ActionCollection::createMenuBar( QWidget *parent )
|
|||||||
helpMenu->addAction( m_actionCollection[ "diagnostics" ] );
|
helpMenu->addAction( m_actionCollection[ "diagnostics" ] );
|
||||||
helpMenu->addAction( m_actionCollection[ "openLogfile" ] );
|
helpMenu->addAction( m_actionCollection[ "openLogfile" ] );
|
||||||
helpMenu->addAction( m_actionCollection[ "legalInfo" ] );
|
helpMenu->addAction( m_actionCollection[ "legalInfo" ] );
|
||||||
|
helpMenu->addAction( m_actionCollection["getSupport"] );
|
||||||
|
helpMenu->addAction( m_actionCollection["reportBug"] );
|
||||||
|
helpMenu->addSeparator();
|
||||||
QMenu* whatsNew = helpMenu->addMenu( ImageRegistry::instance()->icon( RESPATH "images/whatsnew.svg" ), tr( "What's new in ..." ) );
|
QMenu* whatsNew = helpMenu->addMenu( ImageRegistry::instance()->icon( RESPATH "images/whatsnew.svg" ), tr( "What's new in ..." ) );
|
||||||
whatsNew->setFont( TomahawkUtils::systemFont() );
|
whatsNew->setFont( TomahawkUtils::systemFont() );
|
||||||
whatsNew->addAction( m_actionCollection[ "whatsnew_0_8" ] );
|
whatsNew->addAction( m_actionCollection[ "whatsnew_0_8" ] );
|
||||||
@@ -270,6 +275,9 @@ ActionCollection::createCompactMenu( QWidget *parent )
|
|||||||
compactMenu->addAction( m_actionCollection[ "crashNow" ] );
|
compactMenu->addAction( m_actionCollection[ "crashNow" ] );
|
||||||
}
|
}
|
||||||
compactMenu->addSeparator();
|
compactMenu->addSeparator();
|
||||||
|
compactMenu->addAction( m_actionCollection["getSupport"] );
|
||||||
|
compactMenu->addAction( m_actionCollection["reportBug"] );
|
||||||
|
compactMenu->addSeparator();
|
||||||
compactMenu->addAction( m_actionCollection[ "quit" ] );
|
compactMenu->addAction( m_actionCollection[ "quit" ] );
|
||||||
|
|
||||||
return compactMenu;
|
return compactMenu;
|
||||||
|
@@ -654,6 +654,8 @@ TomahawkWindow::setupSignals()
|
|||||||
connect( ac->getAction( "preferences" ), SIGNAL( triggered() ), SLOT( showSettingsDialog() ) );
|
connect( ac->getAction( "preferences" ), SIGNAL( triggered() ), SLOT( showSettingsDialog() ) );
|
||||||
connect( ac->getAction( "diagnostics" ), SIGNAL( triggered() ), SLOT( showDiagnosticsDialog() ) );
|
connect( ac->getAction( "diagnostics" ), SIGNAL( triggered() ), SLOT( showDiagnosticsDialog() ) );
|
||||||
connect( ac->getAction( "legalInfo" ), SIGNAL( triggered() ), SLOT( legalInfo() ) );
|
connect( ac->getAction( "legalInfo" ), SIGNAL( triggered() ), SLOT( legalInfo() ) );
|
||||||
|
connect( ac->getAction( "reportBug" ), SIGNAL( triggered() ), SLOT( reportBug() ) );
|
||||||
|
connect( ac->getAction( "getSupport" ), SIGNAL( triggered() ), SLOT( getSupport() ) );
|
||||||
connect( ac->getAction( "openLogfile" ), SIGNAL( triggered() ), SLOT( openLogfile() ) );
|
connect( ac->getAction( "openLogfile" ), SIGNAL( triggered() ), SLOT( openLogfile() ) );
|
||||||
connect( ac->getAction( "updateCollection" ), SIGNAL( triggered() ), SLOT( updateCollectionManually() ) );
|
connect( ac->getAction( "updateCollection" ), SIGNAL( triggered() ), SLOT( updateCollectionManually() ) );
|
||||||
connect( ac->getAction( "rescanCollection" ), SIGNAL( triggered() ), SLOT( rescanCollectionManually() ) );
|
connect( ac->getAction( "rescanCollection" ), SIGNAL( triggered() ), SLOT( rescanCollectionManually() ) );
|
||||||
@@ -1018,6 +1020,17 @@ TomahawkWindow::legalInfo()
|
|||||||
QDesktopServices::openUrl( QUrl( "http://www.tomahawk-player.org/legal.html" ) );
|
QDesktopServices::openUrl( QUrl( "http://www.tomahawk-player.org/legal.html" ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
TomahawkWindow::getSupport()
|
||||||
|
{
|
||||||
|
QDesktopServices::openUrl( QUrl( "http://tomahawk.uservoice.com" ) );
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
TomahawkWindow::reportBug()
|
||||||
|
{
|
||||||
|
QDesktopServices::openUrl( QUrl( "http://bugs.tomahawk-player.org" ) );
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
TomahawkWindow::openLogfile()
|
TomahawkWindow::openLogfile()
|
||||||
|
@@ -101,6 +101,8 @@ public slots:
|
|||||||
void showSettingsDialog();
|
void showSettingsDialog();
|
||||||
void showDiagnosticsDialog();
|
void showDiagnosticsDialog();
|
||||||
void legalInfo();
|
void legalInfo();
|
||||||
|
void getSupport();
|
||||||
|
void reportBug();
|
||||||
void openLogfile();
|
void openLogfile();
|
||||||
void updateCollectionManually();
|
void updateCollectionManually();
|
||||||
void rescanCollectionManually();
|
void rescanCollectionManually();
|
||||||
|
Reference in New Issue
Block a user