mirror of
https://github.com/Luca1991/NDSFactory.git
synced 2026-02-04 05:36:15 +01:00
Various QoL improvements
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
#include <QFileDialog>
|
||||
|
||||
QString customSaveFileDialog(const QString& title, const QString& defaultName, const QString& filter)
|
||||
inline QString customSaveFileDialog(const QString& title, const QString& defaultName, const QString& filter)
|
||||
{
|
||||
|
||||
static QString lastUsedPath;
|
||||
|
||||
@@ -49,7 +49,7 @@ inline void setTheme(QString themeValue)
|
||||
{
|
||||
QSettings settings;
|
||||
settings.setValue("theme", themeValue);
|
||||
QMessageBox::information(nullptr, "NDS Factory", "Restart NDSFactory to change theme!");
|
||||
QMessageBox::information(nullptr, "NDSFactory", "Restart NDSFactory to change theme!");
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -6,10 +6,10 @@ void notifyExtractionResult(bool result)
|
||||
{
|
||||
if (result)
|
||||
{
|
||||
QMessageBox::information(Q_NULLPTR, "NDS Factory", "Extraction completed!");
|
||||
QMessageBox::information(Q_NULLPTR, "NDSFactory", "Extraction completed!");
|
||||
}
|
||||
else
|
||||
{
|
||||
QMessageBox::critical(Q_NULLPTR, "NDS Factory", "Error during the extraction!");
|
||||
QMessageBox::critical(Q_NULLPTR, "NDSFactory", "Error during the extraction!");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user