diff options
author | LittleWhite <lw.demoscene@googlemail.com> | 2016-01-24 21:54:04 +0100 |
---|---|---|
committer | LittleWhite <lw.demoscene@googlemail.com> | 2016-03-22 21:53:43 +0100 |
commit | 3eb737a5f5b199fd3f9951a7060255f46011e9ff (patch) | |
tree | cc44971ba38dbb0a86929df09e7cd613e583e8a3 /src/citra_qt/ui_settings.h | |
parent | Whole config is handled by Config class. (diff) | |
download | yuzu-3eb737a5f5b199fd3f9951a7060255f46011e9ff.tar yuzu-3eb737a5f5b199fd3f9951a7060255f46011e9ff.tar.gz yuzu-3eb737a5f5b199fd3f9951a7060255f46011e9ff.tar.bz2 yuzu-3eb737a5f5b199fd3f9951a7060255f46011e9ff.tar.lz yuzu-3eb737a5f5b199fd3f9951a7060255f46011e9ff.tar.xz yuzu-3eb737a5f5b199fd3f9951a7060255f46011e9ff.tar.zst yuzu-3eb737a5f5b199fd3f9951a7060255f46011e9ff.zip |
Diffstat (limited to 'src/citra_qt/ui_settings.h')
-rw-r--r-- | src/citra_qt/ui_settings.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/citra_qt/ui_settings.h b/src/citra_qt/ui_settings.h index 729866d56..62db4a73e 100644 --- a/src/citra_qt/ui_settings.h +++ b/src/citra_qt/ui_settings.h @@ -2,8 +2,7 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. -#ifndef UISETTINGS_H -#define UISETTINGS_H +#pragma once #include <QByteArray> #include <QStringList> @@ -13,8 +12,8 @@ namespace UISettings { - typedef std::pair<QString, int> ContextedShortcut; - typedef std::pair<QString, ContextedShortcut> Shortcut; +using ContextualShortcut = std::pair<QString, int> ; +using Shortcut = std::pair<QString, ContextualShortcut>; struct Values { QByteArray geometry; @@ -30,19 +29,19 @@ struct Values { bool single_window_mode; bool display_titlebar; - bool check_closure; + bool confirm_before_closing; bool first_start; QString roms_path; QString symbols_path; - QString gamedir_path; + QString gamedir; bool gamedir_deepscan; QStringList recent_files; // Shortcut name <Shortcut, context> std::vector<Shortcut> shortcuts; -} extern values; +}; -} +extern Values values; -#endif // UISETTINGS_H +} |