Commit 846a0845 authored by Graeme Gott's avatar Graeme Gott

Remove unused variable.

parent 99dc8a80
......@@ -148,12 +148,10 @@ WhiskerMenu::Window::Window(Plugin* plugin) :
if (!wm_settings->display_recent)
{
m_default_button = m_favorites_button;
m_default_page = m_favorites;
}
else
{
m_default_button = m_recent_button;
m_default_page = m_recent;
}
// Create box for packing children
......@@ -329,12 +327,10 @@ void WhiskerMenu::Window::show(const Position position)
if (wm_settings->display_recent)
{
m_default_button = m_recent_button;
m_default_page = m_recent;
}
else
{
m_default_button = m_favorites_button;
m_default_page = m_favorites;
}
show_default_page();
......
......@@ -139,7 +139,6 @@ private:
FavoritesPage* m_favorites;
RecentPage* m_recent;
ApplicationsPage* m_applications;
Page* m_default_page;
GtkScrolledWindow* m_sidebar;
GtkBox* m_sidebar_buttons;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment