解决扫描至功能,拖动会造成文件夹内文件顺序异常的问题
This commit is contained in:
parent
1d68833034
commit
a4d4455bf0
|
@ -755,10 +755,15 @@ void MainWindow::on_itemSelectingChanged()
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool Greater(const QString &str1, const QString &str2)
|
static bool Greater(const QString &str1, const QString &str2)
|
||||||
|
{
|
||||||
|
if (str1.size() == str2.size())
|
||||||
{
|
{
|
||||||
return str1 < str2;
|
return str1 < str2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return str1.size() < str2.size();
|
||||||
|
}
|
||||||
|
|
||||||
void MainWindow::on_currItemChanged(int index)
|
void MainWindow::on_currItemChanged(int index)
|
||||||
{
|
{
|
||||||
HGImage img = nullptr;
|
HGImage img = nullptr;
|
||||||
|
|
Loading…
Reference in New Issue