From ba0a1bd50191fb6387489c6562a2e1fe8e0451d0 Mon Sep 17 00:00:00 2001 From: LePresidente Date: Thu, 22 Mar 2018 09:41:35 +0200 Subject: Updater and Issue reports now point to Modorganizer2/modorganizer --- src/mainwindow.cpp | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index e5eacc41..a79e42ba 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1886,7 +1886,7 @@ void MainWindow::wikiTriggered() void MainWindow::issueTriggered() { - ::ShellExecuteW(nullptr, L"open", L"http://github.com/LePresidente/modorganizer/issues", nullptr, nullptr, SW_SHOWNORMAL); + ::ShellExecuteW(nullptr, L"open", L"http://github.com/Modorganizer2/modorganizer/issues", nullptr, nullptr, SW_SHOWNORMAL); } void MainWindow::tutorialTriggered() @@ -3036,7 +3036,7 @@ void MainWindow::openInstanceFolder() } void MainWindow::openLogsFolder() -{ +{ QString logsPath = qApp->property("dataPath").toString() + "/" + QString::fromStdWString(AppConfig::logPath()); ::ShellExecuteW(nullptr, L"explore", ToWString(logsPath).c_str(), nullptr, nullptr, SW_SHOWNORMAL); } @@ -3237,7 +3237,7 @@ static void addMenuAsPushButton(QMenu *menu, QMenu *subMenu) } QMenu *MainWindow::openFolderMenu() -{ +{ QMenu *FolderMenu = new QMenu(this); @@ -3261,11 +3261,11 @@ QMenu *MainWindow::openFolderMenu() - - - + + + return FolderMenu; @@ -3950,7 +3950,7 @@ void MainWindow::previewDataFile() fileName = fileName.mid(offset + 1); } - + const FileEntry::Ptr file = m_OrganizerCore.directoryStructure()->searchFile(ToWString(fileName), nullptr); @@ -4666,7 +4666,7 @@ void MainWindow::on_bossButton_clicked() dialog.show(); QString outPath = QDir::temp().absoluteFilePath("lootreport.json"); - + QStringList parameters; parameters << "--game" << m_OrganizerCore.managedGame()->gameShortName() << "--gamePath" << QString("\"%1\"").arg(m_OrganizerCore.managedGame()->gameDirectory().absolutePath()) @@ -5076,4 +5076,3 @@ void MainWindow::on_clearFiltersButton_clicked() { deselectFilters(); } - -- cgit v1.3.1