diff --git a/Source/Core/DolphinQt/GameList/GameFile.cpp b/Source/Core/DolphinQt/GameList/GameFile.cpp
index 70cd91b64c..4cfe616e18 100644
--- a/Source/Core/DolphinQt/GameList/GameFile.cpp
+++ b/Source/Core/DolphinQt/GameList/GameFile.cpp
@@ -225,9 +225,9 @@ QString GameFile::CreateCacheFilename()
// Filename.extension_HashOfFolderPath_Size.cache
// Append hash to prevent ISO name-clashing in different folders.
- filename.append(StringFromFormat("%s_%x_%lx.qcache",
+ filename.append(StringFromFormat("%s_%x_%llx.qcache",
extension.c_str(), HashFletcher((const u8*)pathname.c_str(), pathname.size()),
- File::GetSize(m_file_name.toStdString())));
+ (unsigned long long)File::GetSize(m_file_name.toStdString())));
QString fullname = QString::fromStdString(File::GetUserPath(D_CACHE_IDX));
fullname += QString::fromStdString(filename);
diff --git a/Source/Core/DolphinQt/GameList/GameGrid.ui b/Source/Core/DolphinQt/GameList/GameGrid.ui
index 742435b22a..cc910ee63b 100644
--- a/Source/Core/DolphinQt/GameList/GameGrid.ui
+++ b/Source/Core/DolphinQt/GameList/GameGrid.ui
@@ -6,8 +6,8 @@
0
0
- 256
- 192
+ 254
+ 190
@@ -16,6 +16,9 @@
QListView::Adjust
+
+ true
+
diff --git a/Source/Core/DolphinQt/GameList/GameTree.cpp b/Source/Core/DolphinQt/GameList/GameTree.cpp
index fa3d5babe4..7cf0c874ca 100644
--- a/Source/Core/DolphinQt/GameList/GameTree.cpp
+++ b/Source/Core/DolphinQt/GameList/GameTree.cpp
@@ -114,6 +114,7 @@ void DGameTree::AddGame(GameFile* item)
i->setText(COL_DESCRIPTION, item->GetDescription());
i->setIcon(COL_REGION, QIcon(Resources::GetRegionPixmap(item->GetCountry())));
i->setText(COL_SIZE, NiceSizeFormat(item->GetFileSize()));
+ i->setIcon(COL_STATE, QIcon(Resources::GetRatingPixmap(item->GetEmuState())));
if (item->IsCompressed())
{
for (int col = 0; col < columnCount(); col++)
diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp
index 4bb13e29e2..bd3b0e103b 100644
--- a/Source/Core/DolphinQt/MainWindow.cpp
+++ b/Source/Core/DolphinQt/MainWindow.cpp
@@ -261,16 +261,6 @@ void DMainWindow::OnCoreStateChanged(Core::EState state)
m_game_tracker->setEnabled(is_not_initialized);
}
-bool DMainWindow::RenderWidgetHasFocus()
-{
- if (SConfig::GetInstance().m_LocalCoreStartupParameter.bRenderToMain)
- return isActiveWindow();
- else if (m_render_widget != nullptr)
- return m_render_widget->isActiveWindow();
- else
- return false;
-}
-
// Update all the icons used in DMainWindow with fresh ones from
// "Resources". Call this function after changing the icon theme.
void DMainWindow::UpdateIcons()
diff --git a/Source/Core/DolphinQt/MainWindow.h b/Source/Core/DolphinQt/MainWindow.h
index e8fa97c8ba..cee7743adb 100644
--- a/Source/Core/DolphinQt/MainWindow.h
+++ b/Source/Core/DolphinQt/MainWindow.h
@@ -27,7 +27,7 @@ public:
~DMainWindow();
// DRenderWidget
- bool RenderWidgetHasFocus();
+ bool RenderWidgetHasFocus() const { return m_render_widget->isActiveWindow(); }
DRenderWidget* GetRenderWidget() { return m_render_widget.get(); }
signals:
@@ -65,7 +65,7 @@ private:
QString ShowFileDialog();
void DoStartPause();
- std::unique_ptr m_render_widget; // TODO: just create this once and reuse it
+ std::unique_ptr m_render_widget;
bool m_isStopping = false;
};
diff --git a/Source/Core/DolphinQt/MainWindow.ui b/Source/Core/DolphinQt/MainWindow.ui
index f0b65dee2e..3fee16ffe0 100644
--- a/Source/Core/DolphinQt/MainWindow.ui
+++ b/Source/Core/DolphinQt/MainWindow.ui
@@ -6,8 +6,8 @@
0
0
- 992
- 592
+ 990
+ 590
@@ -31,8 +31,8 @@
0
0
- 992
- 21
+ 990
+ 24