summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorBrian Munro <brian.alexander.munro@gmail.com>2018-03-22 09:46:09 +0200
committerGitHub <noreply@github.com>2018-03-22 09:46:09 +0200
commitdd288fe1527b6db8c56236ac365b43880d86ab88 (patch)
treef56f35847a6df69bddb69ed5f748372bcc25ff4c /src/mainwindow.cpp
parent2d2a2b8b74488004184e8c60615a47ef8e159b9c (diff)
parentba0a1bd50191fb6387489c6562a2e1fe8e0451d0 (diff)
Merge pull request #284 from LePresidente/Develop
Updater and Issue reports now point to Modorganizer2/modorganizer
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp17
1 files changed, 8 insertions, 9 deletions
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();
}
-