Use youtrack for bugs

This commit is contained in:
Petr Mrázek 2013-09-08 15:59:50 +02:00
parent 6bea4ec988
commit 7e1cf22ce6
2 changed files with 8 additions and 7 deletions

View File

@ -361,7 +361,7 @@ void MainWindow::on_actionSettings_triggered()
void MainWindow::on_actionReportBug_triggered() void MainWindow::on_actionReportBug_triggered()
{ {
openWebPage ( QUrl ( "http://jira.forkk.net/browse/MMC" ) ); openWebPage ( QUrl ( "http://multimc.myjetbrains.com/youtrack/dashboard#newissue=yes" ) );
} }
void MainWindow::on_actionNews_triggered() void MainWindow::on_actionNews_triggered()

View File

@ -36,12 +36,6 @@ HttpMetaCache::~HttpMetaCache()
SaveNow(); SaveNow();
} }
void HttpMetaCache::SaveEventually()
{
saveBatchingTimer.stop();
saveBatchingTimer.start(30000);
}
MetaEntryPtr HttpMetaCache::getEntry ( QString base, QString resource_path ) MetaEntryPtr HttpMetaCache::getEntry ( QString base, QString resource_path )
{ {
// no base. no base path. can't store // no base. no base path. can't store
@ -197,6 +191,13 @@ void HttpMetaCache::Load()
} }
} }
void HttpMetaCache::SaveEventually()
{
// reset the save timer
saveBatchingTimer.stop();
saveBatchingTimer.start(30000);
}
void HttpMetaCache::SaveNow() void HttpMetaCache::SaveNow()
{ {
QSaveFile tfile(m_index_file); QSaveFile tfile(m_index_file);