mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
handle some more warnings
This commit is contained in:
parent
8ebe02ce32
commit
f48589005d
9 changed files with 24 additions and 35 deletions
|
|
@ -224,7 +224,7 @@ void save_manager_dialog::OnSort(int logicalIndex)
|
|||
}
|
||||
|
||||
/**
|
||||
*Display info dialog directly. Copied from save_data_list_dialog
|
||||
* Display info dialog directly. Copied from save_data_list_dialog
|
||||
*/
|
||||
void save_manager_dialog::OnEntryInfo()
|
||||
{
|
||||
|
|
@ -238,7 +238,7 @@ void save_manager_dialog::OnEntryInfo()
|
|||
}
|
||||
}
|
||||
|
||||
//Remove a save file, need to be confirmed.
|
||||
// Remove a save file, need to be confirmed.
|
||||
void save_manager_dialog::OnEntryRemove()
|
||||
{
|
||||
int idx = m_list->currentRow();
|
||||
|
|
@ -279,7 +279,7 @@ void save_manager_dialog::OnEntriesRemove()
|
|||
}
|
||||
}
|
||||
|
||||
//Pop-up a small context-menu, being a replacement for save_data_manage_dialog
|
||||
// Pop-up a small context-menu, being a replacement for save_data_manage_dialog
|
||||
void save_manager_dialog::ShowContextMenu(const QPoint &pos)
|
||||
{
|
||||
bool selectedItems = m_list->selectionModel()->selectedRows().size() > 1;
|
||||
|
|
@ -300,14 +300,14 @@ void save_manager_dialog::ShowContextMenu(const QPoint &pos)
|
|||
QAction* infoAct = new QAction(tr("&Info"), this);
|
||||
QAction* showDirAct = new QAction(tr("&Open Save Directory"), this);
|
||||
|
||||
//This is also a stub for the sort setting. Ids are set accordingly to their sort-type integer.
|
||||
// This is also a stub for the sort setting. Ids are set accordingly to their sort-type integer.
|
||||
// TODO: add more sorting types.
|
||||
m_sort_options = new QMenu(tr("&Sort By"));
|
||||
m_sort_options->addAction(titleAct);
|
||||
m_sort_options->addAction(subtitleAct);
|
||||
m_sort_options->addAction(saveIDAct);
|
||||
QMenu* sort_options = new QMenu(tr("&Sort By"), this);
|
||||
sort_options->addAction(titleAct);
|
||||
sort_options->addAction(subtitleAct);
|
||||
sort_options->addAction(saveIDAct);
|
||||
|
||||
menu->addMenu(m_sort_options);
|
||||
menu->addMenu(sort_options);
|
||||
menu->addSeparator();
|
||||
menu->addAction(removeAct);
|
||||
menu->addAction(infoAct);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue