Don't show message about missing bookmarks file

pull/110/head
Hleb Valoshka 2018-10-05 19:44:36 +03:00
parent f5fee44693
commit e562c6a8f7
1 changed files with 1 additions and 5 deletions

View File

@ -563,11 +563,7 @@ bool CelestiaAppWindow::loadBookmarks()
{
bool loadedBookmarks = false;
QString bookmarksFilePath = QDir(m_dataDirPath).filePath(BOOKMARKS_FILE);
if (!QFile::exists(bookmarksFilePath))
{
QMessageBox::warning(this, _("No Bookmarks File"), QString(_("Bookmarks file %1 does not exist.")).arg(bookmarksFilePath));
}
else
if (QFile::exists(bookmarksFilePath))
{
QFile bookmarksFile(bookmarksFilePath);
if (!bookmarksFile.open(QIODevice::ReadOnly))