Sort the app list in alphabetical order
This commit is contained in:
parent
79435b60ff
commit
bd986bfb21
2 changed files with 14 additions and 0 deletions
|
|
@ -13,6 +13,11 @@
|
|||
|
||||
class NvComputer
|
||||
{
|
||||
friend class PcMonitorThread;
|
||||
|
||||
private:
|
||||
void sortAppList();
|
||||
|
||||
public:
|
||||
explicit NvComputer(QString address, QString serverInfo);
|
||||
|
||||
|
|
@ -126,6 +131,7 @@ private:
|
|||
QWriteLocker lock(&m_Computer->lock);
|
||||
if (m_Computer->appList != appList) {
|
||||
m_Computer->appList = appList;
|
||||
m_Computer->sortAppList();
|
||||
changed = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue