diff options
| author | LostDragonist <lost.dragonist@gmail.com> | 2018-12-08 01:19:37 -0600 |
|---|---|---|
| committer | LostDragonist <lost.dragonist@gmail.com> | 2018-12-08 01:19:37 -0600 |
| commit | 4914fd172deffe15631ab37264a1ffda33637e99 (patch) | |
| tree | b265d4c71c0a9b83ad8797838e1c81e3fa124422 | |
| parent | 02fe0d3384c60b96e85274e94f4c3b344780a0ca (diff) | |
Add workarounds button to reset window geometries
| -rw-r--r-- | src/mainwindow.cpp | 34 | ||||
| -rw-r--r-- | src/organizer_en.ts | 527 | ||||
| -rw-r--r-- | src/settings.cpp | 11 | ||||
| -rw-r--r-- | src/settingsdialog.cpp | 4 | ||||
| -rw-r--r-- | src/settingsdialog.h | 1 | ||||
| -rw-r--r-- | src/settingsdialog.ui | 16 |
6 files changed, 323 insertions, 270 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index de015c54..84b77945 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1738,21 +1738,31 @@ void MainWindow::processUpdates() { void MainWindow::storeSettings(QSettings &settings) {
settings.setValue("group_state", ui->groupCombo->currentIndex());
-
- settings.setValue("window_geometry", saveGeometry());
- settings.setValue("window_split", ui->splitter->saveState());
- settings.setValue("log_split", ui->topLevelSplitter->saveState());
-
- settings.setValue("browser_geometry", m_IntegratedBrowser.saveGeometry());
-
- settings.setValue("filters_visible", ui->displayCategoriesBtn->isChecked());
-
settings.setValue("selected_executable",
ui->executablesListBox->currentIndex());
- for (const std::pair<QString, QHeaderView*> kv : m_PersistedGeometry) {
- QString key = QString("geometry/") + kv.first;
- settings.setValue(key, kv.second->saveState());
+ if (settings.value("reset_geometry", false).toBool()) {
+ settings.remove("window_geometry");
+ settings.remove("window_split");
+ settings.remove("log_split");
+ settings.remove("filters_visible");
+ settings.remove("browser_geometry");
+ settings.beginGroup("geometry");
+ for (auto key : settings.childKeys()) {
+ settings.remove(key);
+ }
+ settings.endGroup();
+ settings.remove("reset_geometry");
+ } else {
+ settings.setValue("window_geometry", saveGeometry());
+ settings.setValue("window_split", ui->splitter->saveState());
+ settings.setValue("log_split", ui->topLevelSplitter->saveState());
+ settings.setValue("browser_geometry", m_IntegratedBrowser.saveGeometry());
+ settings.setValue("filters_visible", ui->displayCategoriesBtn->isChecked());
+ for (const std::pair<QString, QHeaderView*> kv : m_PersistedGeometry) {
+ QString key = QString("geometry/") + kv.first;
+ settings.setValue(key, kv.second->saveState());
+ }
}
}
diff --git a/src/organizer_en.ts b/src/organizer_en.ts index 2ea1c09a..1b752ae5 100644 --- a/src/organizer_en.ts +++ b/src/organizer_en.ts @@ -1620,7 +1620,7 @@ p, li { white-space: pre-wrap; } <message> <location filename="mainwindow.ui" line="287"/> <location filename="mainwindow.ui" line="879"/> - <location filename="mainwindow.cpp" line="3841"/> + <location filename="mainwindow.cpp" line="3858"/> <source>Create Backup</source> <translation type="unfinished"></translation> </message> @@ -1784,8 +1784,8 @@ p, li { white-space: pre-wrap; } <message> <location filename="mainwindow.ui" line="1114"/> <location filename="mainwindow.ui" line="1237"/> - <location filename="mainwindow.cpp" line="3716"/> - <location filename="mainwindow.cpp" line="4610"/> + <location filename="mainwindow.cpp" line="3733"/> + <location filename="mainwindow.cpp" line="4627"/> <source>Refresh</source> <translation type="unfinished"></translation> </message> @@ -1969,7 +1969,7 @@ p, li { white-space: pre-wrap; } </message> <message> <location filename="mainwindow.ui" line="1537"/> - <location filename="mainwindow.cpp" line="4550"/> + <location filename="mainwindow.cpp" line="4567"/> <source>Update</source> <translation type="unfinished"></translation> </message> @@ -2010,7 +2010,7 @@ Right now this has very limited functionality</source> </message> <message> <location filename="mainwindow.ui" line="1585"/> - <location filename="mainwindow.cpp" line="4633"/> + <location filename="mainwindow.cpp" line="4650"/> <source>Endorse Mod Organizer</source> <translation type="unfinished"></translation> </message> @@ -2145,678 +2145,678 @@ Right now this has very limited functionality</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="1199"/> + <location filename="mainwindow.cpp" line="1206"/> <source>Also in: <br></source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="1210"/> + <location filename="mainwindow.cpp" line="1217"/> <source>No conflict</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="1332"/> + <location filename="mainwindow.cpp" line="1339"/> <source><Edit...></source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="1602"/> + <location filename="mainwindow.cpp" line="1614"/> <source>This bsa is enabled in the ini file so it may be required!</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="1664"/> + <location filename="mainwindow.cpp" line="1676"/> <source>Activating Network Proxy</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="1722"/> + <location filename="mainwindow.cpp" line="1734"/> <source>Notice: Your current MO version (%1) is lower than the previous version (%2).<br>The GUI may not downgrade gracefully, so you may experience oddities.<br>However, there should be no serious issues.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="1816"/> + <location filename="mainwindow.cpp" line="1828"/> <source>Choose Mod</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="1817"/> + <location filename="mainwindow.cpp" line="1829"/> <source>Mod Archive</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="1992"/> + <location filename="mainwindow.cpp" line="2004"/> <source>Start Tutorial?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="1993"/> + <location filename="mainwindow.cpp" line="2005"/> <source>You're about to start a tutorial. For technical reasons it's not possible to end the tutorial early. Continue?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2140"/> + <location filename="mainwindow.cpp" line="2157"/> <source>failed to spawn notepad.exe: %1</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2180"/> + <location filename="mainwindow.cpp" line="2197"/> <source>failed to change origin name: %1</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2204"/> + <location filename="mainwindow.cpp" line="2221"/> <source>failed to move "%1" from mod "%2" to "%3": %4</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2228"/> + <location filename="mainwindow.cpp" line="2245"/> <source><Contains %1></source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2263"/> + <location filename="mainwindow.cpp" line="2280"/> <source><Checked></source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2264"/> + <location filename="mainwindow.cpp" line="2281"/> <source><Unchecked></source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2265"/> + <location filename="mainwindow.cpp" line="2282"/> <source><Update></source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2266"/> + <location filename="mainwindow.cpp" line="2283"/> <source><Mod Backup></source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2267"/> + <location filename="mainwindow.cpp" line="2284"/> <source><Managed by MO></source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2268"/> + <location filename="mainwindow.cpp" line="2285"/> <source><Managed outside MO></source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2269"/> + <location filename="mainwindow.cpp" line="2286"/> <source><No category></source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2270"/> + <location filename="mainwindow.cpp" line="2287"/> <source><Conflicted></source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2271"/> + <location filename="mainwindow.cpp" line="2288"/> <source><Not Endorsed></source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2317"/> + <location filename="mainwindow.cpp" line="2334"/> <source>failed to rename mod: %1</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2330"/> + <location filename="mainwindow.cpp" line="2347"/> <source>Overwrite?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2331"/> + <location filename="mainwindow.cpp" line="2348"/> <source>This will replace the existing mod "%1". Continue?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2334"/> + <location filename="mainwindow.cpp" line="2351"/> <source>failed to remove mod "%1"</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2338"/> - <location filename="mainwindow.cpp" line="4382"/> - <location filename="mainwindow.cpp" line="4406"/> + <location filename="mainwindow.cpp" line="2355"/> + <location filename="mainwindow.cpp" line="4399"/> + <location filename="mainwindow.cpp" line="4423"/> <source>failed to rename "%1" to "%2"</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2398"/> - <location filename="mainwindow.cpp" line="3437"/> - <location filename="mainwindow.cpp" line="3445"/> - <location filename="mainwindow.cpp" line="3966"/> + <location filename="mainwindow.cpp" line="2415"/> + <location filename="mainwindow.cpp" line="3454"/> + <location filename="mainwindow.cpp" line="3462"/> + <location filename="mainwindow.cpp" line="3983"/> <source>Confirm</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2399"/> + <location filename="mainwindow.cpp" line="2416"/> <source>Remove the following mods?<br><ul>%1</ul></source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2412"/> + <location filename="mainwindow.cpp" line="2429"/> <source>failed to remove mod: %1</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2444"/> - <location filename="mainwindow.cpp" line="2447"/> - <location filename="mainwindow.cpp" line="2457"/> + <location filename="mainwindow.cpp" line="2461"/> + <location filename="mainwindow.cpp" line="2464"/> + <location filename="mainwindow.cpp" line="2474"/> <source>Failed</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2444"/> + <location filename="mainwindow.cpp" line="2461"/> <source>Installation file no longer exists</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2448"/> + <location filename="mainwindow.cpp" line="2465"/> <source>Mods installed with old versions of MO can't be reinstalled in this way.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2458"/> + <location filename="mainwindow.cpp" line="2475"/> <source>Failed to create backup.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2475"/> + <location filename="mainwindow.cpp" line="2492"/> <source>You need to be logged in with Nexus to resume a download</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2491"/> - <location filename="mainwindow.cpp" line="2518"/> + <location filename="mainwindow.cpp" line="2508"/> + <location filename="mainwindow.cpp" line="2535"/> <source>You need to be logged in with Nexus to endorse</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2574"/> + <location filename="mainwindow.cpp" line="2591"/> <source>Failed to display overwrite dialog: %1</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2762"/> + <location filename="mainwindow.cpp" line="2779"/> <source>Nexus ID for this Mod is unknown</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2772"/> + <location filename="mainwindow.cpp" line="2789"/> <source>Web page for this mod is unknown</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2850"/> - <location filename="mainwindow.cpp" line="2969"/> - <location filename="mainwindow.cpp" line="3778"/> + <location filename="mainwindow.cpp" line="2867"/> + <location filename="mainwindow.cpp" line="2986"/> + <location filename="mainwindow.cpp" line="3795"/> <source>Create Mod...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2851"/> + <location filename="mainwindow.cpp" line="2868"/> <source>This will create an empty mod. Please enter a name:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2860"/> - <location filename="mainwindow.cpp" line="2979"/> + <location filename="mainwindow.cpp" line="2877"/> + <location filename="mainwindow.cpp" line="2996"/> <source>A mod with this name already exists</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2888"/> + <location filename="mainwindow.cpp" line="2905"/> <source>Create Separator...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2889"/> + <location filename="mainwindow.cpp" line="2906"/> <source>This will create a new separator. Please enter a name:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2896"/> + <location filename="mainwindow.cpp" line="2913"/> <source>A separator with this name already exists</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="2970"/> + <location filename="mainwindow.cpp" line="2987"/> <source>This will move all files from overwrite into a new, regular mod. Please enter a name:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3011"/> - <location filename="mainwindow.cpp" line="4950"/> + <location filename="mainwindow.cpp" line="3028"/> + <location filename="mainwindow.cpp" line="4967"/> <source>Are you sure?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3012"/> + <location filename="mainwindow.cpp" line="3029"/> <source>About to recursively delete: </source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3331"/> + <location filename="mainwindow.cpp" line="3348"/> <source>Not logged in, endorsement information will be wrong</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3339"/> + <location filename="mainwindow.cpp" line="3356"/> <source>Continue?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3340"/> + <location filename="mainwindow.cpp" line="3357"/> <source>The versioning scheme decides which version is considered newer than another. This function will guess the versioning scheme under the assumption that the installed version is outdated.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3360"/> - <location filename="mainwindow.cpp" line="4518"/> + <location filename="mainwindow.cpp" line="3377"/> + <location filename="mainwindow.cpp" line="4535"/> <source>Sorry</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3361"/> + <location filename="mainwindow.cpp" line="3378"/> <source>I don't know a versioning scheme where %1 is newer than %2.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3437"/> + <location filename="mainwindow.cpp" line="3454"/> <source>Really enable all visible mods?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3445"/> + <location filename="mainwindow.cpp" line="3462"/> <source>Really disable all visible mods?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3510"/> + <location filename="mainwindow.cpp" line="3527"/> <source>Export to csv</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3513"/> + <location filename="mainwindow.cpp" line="3530"/> <source>CSV (Comma Separated Values) is a format that can be imported in programs like Excel to create a spreadsheet. You can also use online editors and converters instead.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3516"/> + <location filename="mainwindow.cpp" line="3533"/> <source>Select what mods you want export:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3517"/> + <location filename="mainwindow.cpp" line="3534"/> <source>All installed mods</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3518"/> + <location filename="mainwindow.cpp" line="3535"/> <source>Only active (checked) mods from your current profile</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3519"/> + <location filename="mainwindow.cpp" line="3536"/> <source>All currently visible mods in the mod list</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3540"/> + <location filename="mainwindow.cpp" line="3557"/> <source>Choose what Columns to export:</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3543"/> + <location filename="mainwindow.cpp" line="3560"/> <source>Mod_Priority</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3545"/> + <location filename="mainwindow.cpp" line="3562"/> <source>Mod_Name</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3547"/> + <location filename="mainwindow.cpp" line="3564"/> <source>Mod_Status</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3548"/> + <location filename="mainwindow.cpp" line="3565"/> <source>Primary_Category</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3549"/> + <location filename="mainwindow.cpp" line="3566"/> <source>Nexus_ID</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3550"/> + <location filename="mainwindow.cpp" line="3567"/> <source>Mod_Nexus_URL</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3551"/> + <location filename="mainwindow.cpp" line="3568"/> <source>Mod_Version</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3552"/> + <location filename="mainwindow.cpp" line="3569"/> <source>Install_Date</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3553"/> + <location filename="mainwindow.cpp" line="3570"/> <source>Download_File_Name</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3655"/> + <location filename="mainwindow.cpp" line="3672"/> <source>export failed: %1</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3674"/> + <location filename="mainwindow.cpp" line="3691"/> <source>Open Game folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3676"/> + <location filename="mainwindow.cpp" line="3693"/> <source>Open MyGames folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3680"/> + <location filename="mainwindow.cpp" line="3697"/> <source>Open Instance folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3682"/> + <location filename="mainwindow.cpp" line="3699"/> <source>Open Mods folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3684"/> + <location filename="mainwindow.cpp" line="3701"/> <source>Open Profile folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3686"/> + <location filename="mainwindow.cpp" line="3703"/> <source>Open Downloads folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3690"/> + <location filename="mainwindow.cpp" line="3707"/> <source>Open MO2 Install folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3692"/> + <location filename="mainwindow.cpp" line="3709"/> <source>Open MO2 Plugins folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3694"/> + <location filename="mainwindow.cpp" line="3711"/> <source>Open MO2 Logs folder</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3703"/> + <location filename="mainwindow.cpp" line="3720"/> <source>Install Mod...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3705"/> + <location filename="mainwindow.cpp" line="3722"/> <source>Create empty mod</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3707"/> + <location filename="mainwindow.cpp" line="3724"/> <source>Create Separator</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3711"/> + <location filename="mainwindow.cpp" line="3728"/> <source>Enable all visible</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3712"/> + <location filename="mainwindow.cpp" line="3729"/> <source>Disable all visible</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3714"/> + <location filename="mainwindow.cpp" line="3731"/> <source>Check all for update</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3718"/> + <location filename="mainwindow.cpp" line="3735"/> <source>Export to csv...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3730"/> - <location filename="mainwindow.cpp" line="3746"/> + <location filename="mainwindow.cpp" line="3747"/> + <location filename="mainwindow.cpp" line="3763"/> <source>Send to</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3731"/> - <location filename="mainwindow.cpp" line="3747"/> + <location filename="mainwindow.cpp" line="3748"/> + <location filename="mainwindow.cpp" line="3764"/> <source>Top</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3732"/> - <location filename="mainwindow.cpp" line="3748"/> + <location filename="mainwindow.cpp" line="3749"/> + <location filename="mainwindow.cpp" line="3765"/> <source>Bottom</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3733"/> - <location filename="mainwindow.cpp" line="3749"/> + <location filename="mainwindow.cpp" line="3750"/> + <location filename="mainwindow.cpp" line="3766"/> <source>Priority...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3734"/> + <location filename="mainwindow.cpp" line="3751"/> <source>Separator...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3770"/> + <location filename="mainwindow.cpp" line="3787"/> <source>All Mods</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3777"/> + <location filename="mainwindow.cpp" line="3794"/> <source>Sync to Mods...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3779"/> + <location filename="mainwindow.cpp" line="3796"/> <source>Clear Overwrite...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3781"/> - <location filename="mainwindow.cpp" line="3882"/> + <location filename="mainwindow.cpp" line="3798"/> + <location filename="mainwindow.cpp" line="3899"/> <source>Open in Explorer</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3783"/> + <location filename="mainwindow.cpp" line="3800"/> <source>Restore Backup</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3784"/> + <location filename="mainwindow.cpp" line="3801"/> <source>Remove Backup...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3787"/> - <location filename="mainwindow.cpp" line="3806"/> + <location filename="mainwindow.cpp" line="3804"/> + <location filename="mainwindow.cpp" line="3823"/> <source>Change Categories</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3791"/> - <location filename="mainwindow.cpp" line="3811"/> + <location filename="mainwindow.cpp" line="3808"/> + <location filename="mainwindow.cpp" line="3828"/> <source>Primary Category</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3795"/> + <location filename="mainwindow.cpp" line="3812"/> <source>Rename Separator...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3796"/> + <location filename="mainwindow.cpp" line="3813"/> <source>Remove Separator...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3799"/> + <location filename="mainwindow.cpp" line="3816"/> <source>Select Color...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3801"/> + <location filename="mainwindow.cpp" line="3818"/> <source>Reset Color</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3818"/> + <location filename="mainwindow.cpp" line="3835"/> <source>Change versioning scheme</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3823"/> + <location filename="mainwindow.cpp" line="3840"/> <source>Un-ignore update</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3825"/> + <location filename="mainwindow.cpp" line="3842"/> <source>Ignore update</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3831"/> - <location filename="mainwindow.cpp" line="5061"/> + <location filename="mainwindow.cpp" line="3848"/> + <location filename="mainwindow.cpp" line="5078"/> <source>Enable selected</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3832"/> - <location filename="mainwindow.cpp" line="5062"/> + <location filename="mainwindow.cpp" line="3849"/> + <location filename="mainwindow.cpp" line="5079"/> <source>Disable selected</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3838"/> + <location filename="mainwindow.cpp" line="3855"/> <source>Rename Mod...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3839"/> + <location filename="mainwindow.cpp" line="3856"/> <source>Reinstall Mod</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3840"/> + <location filename="mainwindow.cpp" line="3857"/> <source>Remove Mod...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3848"/> + <location filename="mainwindow.cpp" line="3865"/> <source>Un-Endorse</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3851"/> - <location filename="mainwindow.cpp" line="3855"/> + <location filename="mainwindow.cpp" line="3868"/> + <location filename="mainwindow.cpp" line="3872"/> <source>Endorse</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3852"/> + <location filename="mainwindow.cpp" line="3869"/> <source>Won't endorse</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3858"/> + <location filename="mainwindow.cpp" line="3875"/> <source>Endorsement state unknown</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3869"/> + <location filename="mainwindow.cpp" line="3886"/> <source>Ignore missing data</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3873"/> + <location filename="mainwindow.cpp" line="3890"/> <source>Mark as converted/working</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3877"/> + <location filename="mainwindow.cpp" line="3894"/> <source>Visit on Nexus</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3879"/> + <location filename="mainwindow.cpp" line="3896"/> <source>Visit web page</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3886"/> + <location filename="mainwindow.cpp" line="3903"/> <source>Information...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3893"/> - <location filename="mainwindow.cpp" line="5097"/> + <location filename="mainwindow.cpp" line="3910"/> + <location filename="mainwindow.cpp" line="5114"/> <source>Exception: </source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3895"/> - <location filename="mainwindow.cpp" line="5099"/> + <location filename="mainwindow.cpp" line="3912"/> + <location filename="mainwindow.cpp" line="5116"/> <source>Unknown exception</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3926"/> + <location filename="mainwindow.cpp" line="3943"/> <source><All></source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3928"/> + <location filename="mainwindow.cpp" line="3945"/> <source><Multiple></source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="3963"/> + <location filename="mainwindow.cpp" line="3980"/> <source>%1 more</source> <translation type="unfinished"></translation> </message> <message numerus="yes"> - <location filename="mainwindow.cpp" line="3967"/> + <location filename="mainwindow.cpp" line="3984"/> <source>Are you sure you want to remove the following %n save(s)?<br><ul>%1</ul><br>Removed saves will be sent to the Recycle Bin.</source> <translation type="unfinished"> <numerusform></numerusform> @@ -2824,12 +2824,12 @@ You can also use online editors and converters instead.</source> </translation> </message> <message> - <location filename="mainwindow.cpp" line="4012"/> + <location filename="mainwindow.cpp" line="4029"/> <source>Enable Mods...</source> <translation type="unfinished"></translation> </message> <message numerus="yes"> - <location filename="mainwindow.cpp" line="4027"/> + <location filename="mainwindow.cpp" line="4044"/> <source>Delete %n save(s)</source> <translation type="unfinished"> <numerusform></numerusform> @@ -2837,335 +2837,335 @@ You can also use online editors and converters instead.</source> </translation> </message> <message> - <location filename="mainwindow.cpp" line="4069"/> + <location filename="mainwindow.cpp" line="4086"/> <source>failed to remove %1</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4091"/> + <location filename="mainwindow.cpp" line="4108"/> <source>failed to create %1</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4133"/> + <location filename="mainwindow.cpp" line="4150"/> <source>Can't change download directory while downloads are in progress!</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4254"/> + <location filename="mainwindow.cpp" line="4271"/> <source>failed to write to file %1</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4260"/> + <location filename="mainwindow.cpp" line="4277"/> <source>%1 written</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4301"/> + <location filename="mainwindow.cpp" line="4318"/> <source>Select binary</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4301"/> + <location filename="mainwindow.cpp" line="4318"/> <source>Binary</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4327"/> + <location filename="mainwindow.cpp" line="4344"/> <source>Enter Name</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4328"/> + <location filename="mainwindow.cpp" line="4345"/> <source>Please enter a name for the executable</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4342"/> + <location filename="mainwindow.cpp" line="4359"/> <source>Not an executable</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4342"/> + <location filename="mainwindow.cpp" line="4359"/> <source>This is not a recognized executable.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4367"/> - <location filename="mainwindow.cpp" line="4392"/> + <location filename="mainwindow.cpp" line="4384"/> + <location filename="mainwindow.cpp" line="4409"/> <source>Replace file?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4367"/> + <location filename="mainwindow.cpp" line="4384"/> <source>There already is a hidden version of this file. Replace it?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4370"/> - <location filename="mainwindow.cpp" line="4395"/> + <location filename="mainwindow.cpp" line="4387"/> + <location filename="mainwindow.cpp" line="4412"/> <source>File operation failed</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4370"/> - <location filename="mainwindow.cpp" line="4395"/> + <location filename="mainwindow.cpp" line="4387"/> + <location filename="mainwindow.cpp" line="4412"/> <source>Failed to remove "%1". Maybe you lack the required file permissions?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4392"/> + <location filename="mainwindow.cpp" line="4409"/> <source>There already is a visible version of this file. Replace it?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4436"/> - <location filename="mainwindow.cpp" line="5710"/> + <location filename="mainwindow.cpp" line="4453"/> + <location filename="mainwindow.cpp" line="5727"/> <source>Set Priority</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4436"/> + <location filename="mainwindow.cpp" line="4453"/> <source>Set the priority of the selected plugins</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4485"/> + <location filename="mainwindow.cpp" line="4502"/> <source>file not found: %1</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4498"/> + <location filename="mainwindow.cpp" line="4515"/> <source>failed to generate preview for %1</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4518"/> + <location filename="mainwindow.cpp" line="4535"/> <source>Sorry, can't preview anything. This function currently does not support extracting from bsas.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4552"/> + <location filename="mainwindow.cpp" line="4569"/> <source>Update available</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4590"/> + <location filename="mainwindow.cpp" line="4607"/> <source>Open/Execute</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4591"/> + <location filename="mainwindow.cpp" line="4608"/> <source>Add as Executable</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4595"/> + <location filename="mainwindow.cpp" line="4612"/> <source>Preview</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4601"/> + <location filename="mainwindow.cpp" line="4618"/> <source>Un-Hide</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4603"/> + <location filename="mainwindow.cpp" line="4620"/> <source>Hide</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4609"/> + <location filename="mainwindow.cpp" line="4626"/> <source>Write To File...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4634"/> + <location filename="mainwindow.cpp" line="4651"/> <source>Do you want to endorse Mod Organizer on %1 now?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4759"/> + <location filename="mainwindow.cpp" line="4776"/> <source>Thank you!</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4759"/> + <location filename="mainwindow.cpp" line="4776"/> <source>Thank you for your endorsement!</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4794"/> + <location filename="mainwindow.cpp" line="4811"/> <source>Request to Nexus failed: %1</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4809"/> - <location filename="mainwindow.cpp" line="4871"/> + <location filename="mainwindow.cpp" line="4826"/> + <location filename="mainwindow.cpp" line="4888"/> <source>failed to read %1: %2</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4821"/> - <location filename="mainwindow.cpp" line="5287"/> + <location filename="mainwindow.cpp" line="4838"/> + <location filename="mainwindow.cpp" line="5304"/> <source>Error</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4821"/> + <location filename="mainwindow.cpp" line="4838"/> <source>failed to extract %1 (errorcode %2)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4853"/> + <location filename="mainwindow.cpp" line="4870"/> <source>Extract BSA</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4882"/> + <location filename="mainwindow.cpp" line="4899"/> <source>This archive contains invalid hashes. Some files may be broken.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4928"/> + <location filename="mainwindow.cpp" line="4945"/> <source>Extract...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4951"/> + <location filename="mainwindow.cpp" line="4968"/> <source>This will restart MO, continue?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4998"/> + <location filename="mainwindow.cpp" line="5015"/> <source>Edit Categories...</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="4999"/> + <location filename="mainwindow.cpp" line="5016"/> <source>Deselect filter</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="5050"/> + <location filename="mainwindow.cpp" line="5067"/> <source>Remove</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="5066"/> + <location filename="mainwindow.cpp" line="5083"/> <source>Enable all</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="5067"/> + <location filename="mainwindow.cpp" line="5084"/> <source>Disable all</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="5088"/> + <location filename="mainwindow.cpp" line="5105"/> <source>Unlock load order</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="5091"/> + <location filename="mainwindow.cpp" line="5108"/> <source>Lock load order</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="5233"/> + <location filename="mainwindow.cpp" line="5250"/> <source>depends on missing "%1"</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="5237"/> + <location filename="mainwindow.cpp" line="5254"/> <source>incompatible with "%1"</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="5263"/> + <location filename="mainwindow.cpp" line="5280"/> <source>Please wait while LOOT is running</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="5360"/> + <location filename="mainwindow.cpp" line="5377"/> <source>loot failed. Exit code was: %1</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="5382"/> + <location filename="mainwindow.cpp" line="5399"/> <source>failed to start loot</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="5385"/> + <location filename="mainwindow.cpp" line="5402"/> <source>failed to run loot: %1</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="5389"/> + <location filename="mainwindow.cpp" line="5406"/> <source>Errors occured</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="5436"/> + <location filename="mainwindow.cpp" line="5453"/> <source>Backup of load order created</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="5446"/> + <location filename="mainwindow.cpp" line="5463"/> <source>Choose backup to restore</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="5459"/> + <location filename="mainwindow.cpp" line="5476"/> <source>No Backups</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="5459"/> + <location filename="mainwindow.cpp" line="5476"/> <source>There are no backups to restore</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="5480"/> - <location filename="mainwindow.cpp" line="5502"/> + <location filename="mainwindow.cpp" line="5497"/> + <location filename="mainwindow.cpp" line="5519"/> <source>Restore failed</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="5481"/> - <location filename="mainwindow.cpp" line="5503"/> + <location filename="mainwindow.cpp" line="5498"/> + <location filename="mainwindow.cpp" line="5520"/> <source>Failed to restore the backup. Errorcode: %1</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="5492"/> + <location filename="mainwindow.cpp" line="5509"/> <source>Backup of modlist created</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="5598"/> + <location filename="mainwindow.cpp" line="5615"/> <source>A file with the same name has already been downloaded. What would you like to do?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="5600"/> + <location filename="mainwindow.cpp" line="5617"/> <source>Overwrite</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="5601"/> + <location filename="mainwindow.cpp" line="5618"/> <source>Rename new file</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="5602"/> + <location filename="mainwindow.cpp" line="5619"/> <source>Ignore file</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="5710"/> + <location filename="mainwindow.cpp" line="5727"/> <source>Set the priority of the selected mods</source> <translation type="unfinished"></translation> </message> @@ -5462,13 +5462,13 @@ If the folder was still in use, restart MO and try again.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="1296"/> - <location filename="mainwindow.cpp" line="4211"/> + <location filename="mainwindow.cpp" line="1303"/> + <location filename="mainwindow.cpp" line="4228"/> <source><Manage...></source> <translation type="unfinished"></translation> </message> <message> - <location filename="mainwindow.cpp" line="1308"/> + <location filename="mainwindow.cpp" line="1315"/> <source>failed to parse profile %1: %2</source> <translation type="unfinished"></translation> </message> @@ -6268,27 +6268,38 @@ programs you are intentionally running.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="settingsdialog.ui" line="1076"/> + <location filename="settingsdialog.ui" line="1063"/> + <location filename="settingsdialog.ui" line="1066"/> + <source>Resets the window geometries for all windows. This can be useful if a window becomes too small or too large, if a column becomes too thin or too wide, and in similar situations.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="settingsdialog.ui" line="1069"/> + <source>Reset Window Geometries</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="settingsdialog.ui" line="1089"/> <source>These are workarounds for problems with Mod Organizer. Please make sure you read the help text before changing anything here.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="settingsdialog.ui" line="1087"/> + <location filename="settingsdialog.ui" line="1100"/> <source>Diagnostics</source> <translation type="unfinished"></translation> </message> <message> - <location filename="settingsdialog.ui" line="1095"/> + <location filename="settingsdialog.ui" line="1108"/> <source>Log Level</source> <translation type="unfinished"></translation> </message> <message> - <location filename="settingsdialog.ui" line="1102"/> + <location filename="settingsdialog.ui" line="1115"/> <source>Decides the amount of data printed to "ModOrganizer.log"</source> <translation type="unfinished"></translation> </message> <message> - <location filename="settingsdialog.ui" line="1105"/> + <location filename="settingsdialog.ui" line="1118"/> <source> Decides the amount of data printed to "ModOrganizer.log". "Debug" produces very useful information for finding problems. There is usually no noteworthy performance impact but the file may become rather large. If this is a problem you may prefer the "Info" level for regluar use. On the "Error" level the log file usually remains empty. @@ -6296,37 +6307,37 @@ programs you are intentionally running.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="settingsdialog.ui" line="1112"/> + <location filename="settingsdialog.ui" line="1125"/> <source>Debug</source> <translation type="unfinished"></translation> </message> <message> - <location filename="settingsdialog.ui" line="1117"/> + <location filename="settingsdialog.ui" line="1130"/> <source>Info (recommended)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="settingsdialog.ui" line="1122"/> + <location filename="settingsdialog.ui" line="1135"/> <source>Warning</source> <translation type="unfinished"></translation> </message> <message> - <location filename="settingsdialog.ui" line="1127"/> + <location filename="settingsdialog.ui" line="1140"/> <source>Error</source> <translation type="unfinished"></translation> </message> <message> - <location filename="settingsdialog.ui" line="1152"/> + <location filename="settingsdialog.ui" line="1165"/> <source>Crash Dumps</source> <translation type="unfinished"></translation> </message> <message> - <location filename="settingsdialog.ui" line="1159"/> + <location filename="settingsdialog.ui" line="1172"/> <source>Decides which type of crash dumps are collected when injected processes crash.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="settingsdialog.ui" line="1162"/> + <location filename="settingsdialog.ui" line="1175"/> <source> Decides which type of crash dumps are collected when injected processes crash. "None" Disables the generation of crash dumps by MO. @@ -6337,37 +6348,37 @@ programs you are intentionally running.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="settingsdialog.ui" line="1172"/> + <location filename="settingsdialog.ui" line="1185"/> <source>None</source> <translation type="unfinished"></translation> </message> <message> - <location filename="settingsdialog.ui" line="1177"/> + <location filename="settingsdialog.ui" line="1190"/> <source>Mini (recommended)</source> <translation type="unfinished"></translation> </message> <message> - <location filename="settingsdialog.ui" line="1182"/> + <location filename="settingsdialog.ui" line="1195"/> <source>Data</source> <translation type="unfinished"></translation> </message> <message> - <location filename="settingsdialog.ui" line="1187"/> + <location filename="settingsdialog.ui" line="1200"/> <source>Full</source> <translation type="unfinished"></translation> </message> <message> - <location filename="settingsdialog.ui" line="1199"/> + <location filename="settingsdialog.ui" line="1212"/> <source>Max Dumps To Keep</source> <translation type="unfinished"></translation> </message> <message> - <location filename="settingsdialog.ui" line="1219"/> + <location filename="settingsdialog.ui" line="1232"/> <source>Maximum number of crash dumps to keep on disk. Use 0 for unlimited.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="settingsdialog.ui" line="1222"/> + <location filename="settingsdialog.ui" line="1235"/> <source> Maximum number of crash dumps to keep on disk. Use 0 for unlimited. Set "Crash Dumps" above to None to disable crash dump collection. @@ -6375,12 +6386,12 @@ programs you are intentionally running.</source> <translation type="unfinished"></translation> </message> <message> - <location filename="settingsdialog.ui" line="1234"/> + <location filename="settingsdialog.ui" line="1247"/> <source>Hint: right click link and copy link location</source> <translation type="unfinished"></translation> </message> <message> - <location filename="settingsdialog.ui" line="1237"/> + <location filename="settingsdialog.ui" line="1250"/> <source> Logs and crash dumps are stored under your current instance in the <a href="LOGS_FULL_PATH">LOGS_DIR</a> and <a href="DUMPS_FULL_PATH">DUMPS_DIR</a> folders. diff --git a/src/settings.cpp b/src/settings.cpp index c311ef29..3abb0988 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -1112,4 +1112,15 @@ void Settings::WorkaroundsTab::update() m_Settings.setValue("Settings/display_foreign", m_displayForeignBox->isChecked()); m_Settings.setValue("Settings/executable_blacklist", m_dialog.getExecutableBlacklist()); + + if (m_dialog.getResetGeometries()) { + m_Settings.setValue("reset_geometry", true); + if (QMessageBox::question(nullptr, + tr("Restart Mod Organizer?"), + tr("In order to reset the window geometries, MO must be restarted.\n" + "Restart it now?"), + QMessageBox::Yes | QMessageBox::No) == QMessageBox::Yes) { + qApp->exit(INT_MAX); + } + } } diff --git a/src/settingsdialog.cpp b/src/settingsdialog.cpp index e1c4b10d..dec2532c 100644 --- a/src/settingsdialog.cpp +++ b/src/settingsdialog.cpp @@ -94,6 +94,10 @@ void SettingsDialog::accept() TutorableDialog::accept(); } +bool SettingsDialog::getResetGeometries() +{ + return ui->resetGeometryBtn->isChecked(); +} void SettingsDialog::on_loginCheckBox_toggled(bool checked) { diff --git a/src/settingsdialog.h b/src/settingsdialog.h index 911f910d..95ed288f 100644 --- a/src/settingsdialog.h +++ b/src/settingsdialog.h @@ -70,6 +70,7 @@ public: QColor getContainsColor() { return m_ContainsColor; }
QColor getContainedColor() { return m_ContainedColor; }
QString getExecutableBlacklist() { return m_ExecutableBlacklist; }
+ bool getResetGeometries();
void setOverwritingColor(QColor col) { m_OverwritingColor = col; }
void setOverwrittenColor(QColor col) { m_OverwrittenColor = col; }
diff --git a/src/settingsdialog.ui b/src/settingsdialog.ui index a6c6a03b..91bfca4e 100644 --- a/src/settingsdialog.ui +++ b/src/settingsdialog.ui @@ -1058,6 +1058,22 @@ programs you are intentionally running.</string> </widget>
</item>
<item>
+ <widget class="QPushButton" name="resetGeometryBtn">
+ <property name="toolTip">
+ <string>Resets the window geometries for all windows. This can be useful if a window becomes too small or too large, if a column becomes too thin or too wide, and in similar situations.</string>
+ </property>
+ <property name="whatsThis">
+ <string>Resets the window geometries for all windows. This can be useful if a window becomes too small or too large, if a column becomes too thin or too wide, and in similar situations.</string>
+ </property>
+ <property name="text">
+ <string>Reset Window Geometries</string>
+ </property>
+ <property name="checkable">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
|
