summaryrefslogtreecommitdiff
path: root/src/yuzu/main.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-09 01:41:33 -0400
committerLioncash <mathew1800@gmail.com>2019-05-09 01:46:01 -0400
commitd9559448690bdffef0f9930a25f064d5f3c59e12 (patch)
tree3f6f045b9cb4f6a45b30ba952f53acadafcece68 /src/yuzu/main.h
parentbf1829a717b9e917041006a878111d516cbedd33 (diff)
yuzu/main: Move window title updating logic to its own function
For similar reasons to the previous change, we move this to a single function, so we don't need to duplicate the conversion logic in several places within main.cpp.
Diffstat (limited to 'src/yuzu/main.h')
-rw-r--r--src/yuzu/main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/yuzu/main.h b/src/yuzu/main.h
index fb2a193cb..7bf82e665 100644
--- a/src/yuzu/main.h
+++ b/src/yuzu/main.h
@@ -209,6 +209,7 @@ private slots:
private:
std::optional<u64> SelectRomFSDumpTarget(const FileSys::ContentProvider&, u64 program_id);
+ void UpdateWindowTitle(const QString& title_name = {});
void UpdateStatusBar();
Ui::MainWindow ui;