Move number-aware comparison logic into misc class.

This commit is contained in:
Nick Tiskov
2013-07-08 18:31:20 +04:00
parent 2fa0f86df4
commit 89e3500a8e
3 changed files with 71 additions and 55 deletions

View File

@@ -119,6 +119,10 @@ public:
#else
static QString toQString(time_t t);
#endif
#ifndef DISABLE_GUI
static bool naturalSort(QString left, QString right, bool& result);
#endif
};
// Trick to get a portable sleep() function