当系统文件夹限制访问我的文档,给出提示

This commit is contained in:
yangjiaxuan 2022-08-13 17:47:29 +08:00
parent de2bf70a19
commit bc86890fdc
5 changed files with 190 additions and 129 deletions

Binary file not shown.

View File

@ -2110,16 +2110,16 @@ bug description:
<message>
<location filename="mainwindow.cpp" line="506"/>
<location filename="mainwindow.cpp" line="561"/>
<location filename="mainwindow.cpp" line="1446"/>
<location filename="mainwindow.cpp" line="1470"/>
<location filename="mainwindow.cpp" line="2209"/>
<location filename="mainwindow.cpp" line="2533"/>
<location filename="mainwindow.cpp" line="1451"/>
<location filename="mainwindow.cpp" line="1475"/>
<location filename="mainwindow.cpp" line="2214"/>
<location filename="mainwindow.cpp" line="2538"/>
<source>Question</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="507"/>
<location filename="mainwindow.cpp" line="1447"/>
<location filename="mainwindow.cpp" line="1452"/>
<source>modified, save it?</source>
<translation>
</translation>
@ -2151,212 +2151,220 @@ bug description:
<translation type="vanished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1467"/>
<location filename="mainwindow.cpp" line="1472"/>
<source>Clear, then start scan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1468"/>
<location filename="mainwindow.cpp" line="1473"/>
<source>Do NOT clear, then start scan</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1471"/>
<location filename="mainwindow.cpp" line="1476"/>
<source>Already exist images in image list.
Do you want to clear?</source>
<translation>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1505"/>
<location filename="mainwindow.cpp" line="1510"/>
<source>Information</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1506"/>
<location filename="mainwindow.cpp" line="1511"/>
<source>Insufficient disk space</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1692"/>
<location filename="mainwindow.cpp" line="1697"/>
<source>Open images</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1703"/>
<location filename="mainwindow.cpp" line="1708"/>
<source>Insert images</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1885"/>
<location filename="mainwindow.cpp" line="1892"/>
<location filename="mainwindow.cpp" line="1947"/>
<location filename="mainwindow.cpp" line="2023"/>
<location filename="mainwindow.cpp" line="2030"/>
<location filename="mainwindow.cpp" line="1890"/>
<location filename="mainwindow.cpp" line="1897"/>
<location filename="mainwindow.cpp" line="1952"/>
<location filename="mainwindow.cpp" line="2028"/>
<location filename="mainwindow.cpp" line="2035"/>
<source>info</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="857"/>
<location filename="mainwindow.cpp" line="858"/>
<location filename="mainwindow.cpp" line="1885"/>
<location filename="mainwindow.cpp" line="1886"/>
<location filename="mainwindow.cpp" line="1887"/>
<location filename="mainwindow.cpp" line="1947"/>
<location filename="mainwindow.cpp" line="2023"/>
<location filename="mainwindow.cpp" line="2024"/>
<location filename="mainwindow.cpp" line="2025"/>
<location filename="mainwindow.cpp" line="1890"/>
<location filename="mainwindow.cpp" line="1891"/>
<location filename="mainwindow.cpp" line="1892"/>
<location filename="mainwindow.cpp" line="1952"/>
<location filename="mainwindow.cpp" line="2028"/>
<location filename="mainwindow.cpp" line="2029"/>
<location filename="mainwindow.cpp" line="2030"/>
<source>save failed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1892"/>
<location filename="mainwindow.cpp" line="2030"/>
<location filename="mainwindow.cpp" line="1897"/>
<location filename="mainwindow.cpp" line="2035"/>
<source>find savePath in thumbnail</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2114"/>
<location filename="mainwindow.cpp" line="2119"/>
<source>File name</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2114"/>
<location filename="mainwindow.cpp" line="2119"/>
<source>File path</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2114"/>
<location filename="mainwindow.cpp" line="2119"/>
<source>File size</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2114"/>
<location filename="mainwindow.cpp" line="2119"/>
<source>Creation date/time</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2114"/>
<location filename="mainwindow.cpp" line="2119"/>
<source>Modified date/time</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2114"/>
<location filename="mainwindow.cpp" line="2119"/>
<source>Accessed date/time</source>
<translation>访</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2157"/>
<location filename="mainwindow.cpp" line="2162"/>
<source>Format</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2157"/>
<location filename="mainwindow.cpp" line="2162"/>
<source>Width</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2157"/>
<location filename="mainwindow.cpp" line="2162"/>
<source>Height</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2157"/>
<location filename="mainwindow.cpp" line="2162"/>
<source>depth</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2157"/>
<location filename="mainwindow.cpp" line="2162"/>
<source>Color model</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2157"/>
<location filename="mainwindow.cpp" line="2162"/>
<source>DPI</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2157"/>
<location filename="mainwindow.cpp" line="2162"/>
<source>Print size</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2157"/>
<location filename="mainwindow.cpp" line="2162"/>
<source>Frame</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2165"/>
<location filename="mainwindow.cpp" line="2170"/>
<source>None</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2165"/>
<location filename="mainwindow.cpp" line="2170"/>
<source>Mono</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2165"/>
<location filename="mainwindow.cpp" line="2170"/>
<source>Gray</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2165"/>
<location filename="mainwindow.cpp" line="2170"/>
<source>Color</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2186"/>
<location filename="mainwindow.cpp" line="2191"/>
<source>Warning</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2186"/>
<location filename="mainwindow.cpp" line="2191"/>
<source>Device is Running!
Please finish scanning first.</source>
<translation>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3334"/>
<location filename="mainwindow.cpp" line="3302"/>
<location filename="mainwindow.cpp" line="3303"/>
<location filename="mainwindow.cpp" line="3304"/>
<source>folder limit</source>
<translation>访访</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3378"/>
<source>Are you sure to close </source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3334"/>
<location filename="mainwindow.cpp" line="3378"/>
<source> ?</source>
<translation>?</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3344"/>
<location filename="mainwindow.cpp" line="3345"/>
<location filename="mainwindow.cpp" line="3388"/>
<location filename="mainwindow.cpp" line="3389"/>
<source>close </source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3435"/>
<location filename="mainwindow.cpp" line="3479"/>
<source>tip</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3435"/>
<location filename="mainwindow.cpp" line="3479"/>
<source>Other versions not available</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3458"/>
<location filename="mainwindow.cpp" line="3476"/>
<location filename="mainwindow.cpp" line="3502"/>
<location filename="mainwindow.cpp" line="3520"/>
<source>The device does not support this operation</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3460"/>
<location filename="mainwindow.cpp" line="3478"/>
<location filename="mainwindow.cpp" line="3504"/>
<location filename="mainwindow.cpp" line="3522"/>
<source>IO error</source>
<translation>IO错误</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3258"/>
<location filename="mainwindow.cpp" line="3278"/>
<location filename="mainwindow.cpp" line="3302"/>
<source>error</source>
<translation></translation>
</message>
@ -2371,115 +2379,115 @@ Continue to close?</source>
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2534"/>
<location filename="mainwindow.cpp" line="2539"/>
<source>Sure to sign out administrator account?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2659"/>
<location filename="mainwindow.cpp" line="2664"/>
<source>confirm the operation</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2660"/>
<location filename="mainwindow.cpp" line="2665"/>
<source>Are you sure to clear the rollor acount?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2676"/>
<location filename="mainwindow.cpp" line="2681"/>
<source>Please re-enter the Abount screen to obtain the latest value</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2721"/>
<location filename="mainwindow.cpp" line="2726"/>
<source>&lt;p&gt;%1: &lt;a href=&apos;%2&apos;&gt;%3&lt;/a&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2723"/>
<location filename="mainwindow.cpp" line="2728"/>
<source>&lt;p&gt;%1: %2</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2725"/>
<location filename="mainwindow.cpp" line="2730"/>
<source>roller number</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3075"/>
<location filename="mainwindow.cpp" line="3095"/>
<source>open scanner </source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3076"/>
<location filename="mainwindow.cpp" line="3268"/>
<location filename="mainwindow.cpp" line="3096"/>
<location filename="mainwindow.cpp" line="3312"/>
<source>app name</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3098"/>
<location filename="mainwindow.cpp" line="3307"/>
<location filename="mainwindow.cpp" line="3118"/>
<location filename="mainwindow.cpp" line="3351"/>
<source>success</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3107"/>
<location filename="mainwindow.cpp" line="3127"/>
<source>apply setting </source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3107"/>
<location filename="mainwindow.cpp" line="3127"/>
<source> success</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3107"/>
<location filename="mainwindow.cpp" line="3127"/>
<source> failed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3125"/>
<location filename="mainwindow.cpp" line="3322"/>
<location filename="mainwindow.cpp" line="3145"/>
<location filename="mainwindow.cpp" line="3366"/>
<source>failed</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3148"/>
<location filename="mainwindow.cpp" line="3168"/>
<source>warning</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3148"/>
<location filename="mainwindow.cpp" line="3168"/>
<source>the disk space in the current path is unsufficient, please select a new path or clear the disk space in time.</source>
<translation>,
</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3276"/>
<location filename="mainwindow.cpp" line="3320"/>
<source>lost config</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3303"/>
<location filename="mainwindow.cpp" line="3347"/>
<source>apply setting</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="1106"/>
<location filename="mainwindow.cpp" line="1107"/>
<location filename="mainwindow.cpp" line="1108"/>
<location filename="mainwindow.cpp" line="2811"/>
<location filename="mainwindow.cpp" line="2812"/>
<location filename="mainwindow.cpp" line="2813"/>
<location filename="mainwindow.cpp" line="2859"/>
<location filename="mainwindow.cpp" line="2860"/>
<location filename="mainwindow.cpp" line="2861"/>
<location filename="mainwindow.cpp" line="2922"/>
<location filename="mainwindow.cpp" line="2923"/>
<location filename="mainwindow.cpp" line="2924"/>
<location filename="mainwindow.cpp" line="2985"/>
<location filename="mainwindow.cpp" line="2986"/>
<location filename="mainwindow.cpp" line="2987"/>
<location filename="mainwindow.cpp" line="1111"/>
<location filename="mainwindow.cpp" line="1112"/>
<location filename="mainwindow.cpp" line="1113"/>
<location filename="mainwindow.cpp" line="2821"/>
<location filename="mainwindow.cpp" line="2822"/>
<location filename="mainwindow.cpp" line="2823"/>
<location filename="mainwindow.cpp" line="2869"/>
<location filename="mainwindow.cpp" line="2870"/>
<location filename="mainwindow.cpp" line="2871"/>
<location filename="mainwindow.cpp" line="2937"/>
<location filename="mainwindow.cpp" line="2938"/>
<location filename="mainwindow.cpp" line="2939"/>
<location filename="mainwindow.cpp" line="3005"/>
<location filename="mainwindow.cpp" line="3006"/>
<location filename="mainwindow.cpp" line="3007"/>
<source>start failed</source>
<translation></translation>
</message>
@ -2522,15 +2530,15 @@ Continue to close?</source>
<message>
<location filename="mainwindow.cpp" line="509"/>
<location filename="mainwindow.cpp" line="564"/>
<location filename="mainwindow.cpp" line="1449"/>
<location filename="mainwindow.cpp" line="1507"/>
<location filename="mainwindow.cpp" line="2212"/>
<location filename="mainwindow.cpp" line="2226"/>
<location filename="mainwindow.cpp" line="2535"/>
<location filename="mainwindow.cpp" line="2590"/>
<location filename="mainwindow.cpp" line="2662"/>
<location filename="mainwindow.cpp" line="3261"/>
<location filename="mainwindow.cpp" line="3336"/>
<location filename="mainwindow.cpp" line="1454"/>
<location filename="mainwindow.cpp" line="1512"/>
<location filename="mainwindow.cpp" line="2217"/>
<location filename="mainwindow.cpp" line="2231"/>
<location filename="mainwindow.cpp" line="2540"/>
<location filename="mainwindow.cpp" line="2595"/>
<location filename="mainwindow.cpp" line="2667"/>
<location filename="mainwindow.cpp" line="3281"/>
<location filename="mainwindow.cpp" line="3380"/>
<source>yes</source>
<translation></translation>
</message>
@ -2542,13 +2550,13 @@ Continue to close?</source>
<message>
<location filename="mainwindow.cpp" line="511"/>
<location filename="mainwindow.cpp" line="565"/>
<location filename="mainwindow.cpp" line="1450"/>
<location filename="mainwindow.cpp" line="2213"/>
<location filename="mainwindow.cpp" line="2227"/>
<location filename="mainwindow.cpp" line="2536"/>
<location filename="mainwindow.cpp" line="2591"/>
<location filename="mainwindow.cpp" line="2663"/>
<location filename="mainwindow.cpp" line="3337"/>
<location filename="mainwindow.cpp" line="1455"/>
<location filename="mainwindow.cpp" line="2218"/>
<location filename="mainwindow.cpp" line="2232"/>
<location filename="mainwindow.cpp" line="2541"/>
<location filename="mainwindow.cpp" line="2596"/>
<location filename="mainwindow.cpp" line="2668"/>
<location filename="mainwindow.cpp" line="3381"/>
<source>no</source>
<translation></translation>
</message>
@ -2574,62 +2582,62 @@ Continue to close?</source>
<translation>%1%2%3.%4</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="3259"/>
<location filename="mainwindow.cpp" line="3279"/>
<source>start failed!</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2210"/>
<location filename="mainwindow.cpp" line="2215"/>
<source>There are pictures that have not been saved.
Are you sure to close?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2223"/>
<location filename="mainwindow.cpp" line="2228"/>
<source>tips</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2224"/>
<location filename="mainwindow.cpp" line="2229"/>
<source>Are you sure to close?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2587"/>
<location filename="mainwindow.cpp" line="2592"/>
<source>confirm operation</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2588"/>
<location filename="mainwindow.cpp" line="2593"/>
<source>are you sure to clear the roller count?</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2601"/>
<location filename="mainwindow.cpp" line="2605"/>
<location filename="mainwindow.cpp" line="2681"/>
<location filename="mainwindow.cpp" line="2606"/>
<location filename="mainwindow.cpp" line="2610"/>
<location filename="mainwindow.cpp" line="2686"/>
<source>hint</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2601"/>
<location filename="mainwindow.cpp" line="2673"/>
<location filename="mainwindow.cpp" line="2606"/>
<location filename="mainwindow.cpp" line="2678"/>
<source>Roller scanned count has been set to 0.</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2605"/>
<location filename="mainwindow.cpp" line="2679"/>
<location filename="mainwindow.cpp" line="2610"/>
<location filename="mainwindow.cpp" line="2684"/>
<source>Roller scanned count reset failed.</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2648"/>
<location filename="mainwindow.cpp" line="2653"/>
<source>Error</source>
<translation></translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2648"/>
<location filename="mainwindow.cpp" line="2653"/>
<source>Document missing! It would be deleted or renamed.</source>
<translation></translation>
</message>
@ -2662,28 +2670,28 @@ Are you sure to close?</source>
<translation type="vanished">&lt;br&gt;: &lt;a href=&apos;https://j.map.baidu.com/7e/1TO&apos;&gt;百度地图访问&lt;/a&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2699"/>
<location filename="mainwindow.cpp" line="2704"/>
<source>About %1</source>
<translation> %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2700"/>
<location filename="mainwindow.cpp" line="2705"/>
<source>&lt;p&gt;%1&lt;/p&gt;&lt;p&gt;Version: %2&lt;br&gt;CopyRight: &amp;#169; %3&lt;/p&gt;&lt;p&gt;%4%5%6%7%8%9&lt;/p&gt;</source>
<translation>&lt;p&gt;%1&lt;/p&gt;&lt;p&gt;: %2&lt;br&gt;: &amp;#169; %3&lt;/p&gt;&lt;p&gt;%4%5%6%7%8%9&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2715"/>
<location filename="mainwindow.cpp" line="2720"/>
<source>about %1</source>
<translation> %1</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2716"/>
<location filename="mainwindow.cpp" line="2721"/>
<source>&lt;p&gt;Version: %1&lt;/p&gt;</source>
<oldsource>&lt;p&gt;: %1&lt;/p&gt;</oldsource>
<translation>&lt;p&gt; %1&lt;/p&gt;</translation>
</message>
<message>
<location filename="mainwindow.cpp" line="2717"/>
<location filename="mainwindow.cpp" line="2722"/>
<source>&lt;p&gt;CopyRight: &amp;#169; %1&lt;/p&gt;</source>
<oldsource>&lt;p&gt;: &amp;#169; %1&lt;/p&gt;</oldsource>
<translation>&lt;p&gt; &amp;#169; %1&lt;/p&gt;</translation>

View File

@ -1082,6 +1082,11 @@ void MainWindow::on_export_scanned_image(void)
void MainWindow::on_continueScan()
{
if(!isLimitAccessFolder())
{
return;
}
if (!cur_dev_.is_online() || m_isScanning || 0 == m_scanType)
{
return;
@ -2777,6 +2782,11 @@ void MainWindow::on_act_scannerSettings_triggered()
void MainWindow::on_act_acquire_triggered()
{
if(!isLimitAccessFolder())
{
return;
}
if (!cur_dev_.is_online() || m_isScanning)
{
return;
@ -2873,6 +2883,11 @@ void MainWindow::on_act_acquireSingle_triggered()
void MainWindow::on_act_acquireInto_triggered()
{
if(!isLimitAccessFolder())
{
return;
}
if (!cur_dev_.is_online() || m_isScanning)
{
return;
@ -2937,6 +2952,11 @@ void MainWindow::on_act_acquireInto_triggered()
void MainWindow::on_act_insertFromScanner_triggered()
{
if(!isLimitAccessFolder())
{
return;
}
if (!cur_dev_.is_online() || m_isScanning)
{
return;
@ -3263,6 +3283,34 @@ void MainWindow::upgradeApp(QString pkgPath)
}
}
bool MainWindow::isLimitAccessFolder()
{
HGChar documentsPath[512];
HGBase_GetDocumentsPath(documentsPath, 512);
HGChar procName[512];
HGBase_GetProcessName(procName, 512);
strcat(documentsPath, procName);
HGBase_CreateDir(getStdString(documentsPath).c_str());
HGChar uuid[512];
HGBase_GetUuid(uuid, 512);
strcat(documentsPath, "/");
strcat(documentsPath, uuid);
HGResult result = HGBase_CreateDir(getStdString(documentsPath).c_str());
if(result != HGBASE_ERR_OK)
{
QMessageBox::critical(this, tr("error"), tr("folder limit"));
m_dialogLog->addLog(tr("folder limit"), true);
m_wndStatusBar->setDeviceStatusInfo(tr("folder limit"), true);
return false;
}
else
{
HGBase_DeleteDir(getStdString(documentsPath).c_str());
}
return true;
}
void MainWindow::on_scanOptions_changed(const QString &device, const QString &option, bool checked_now)
{
QString title(tr("app name"));

View File

@ -238,6 +238,7 @@ private:
bool open_scanner(const QString& name, OPTSCHEME* schm);
bool judgeDiskSpace(QString currentPath);
void upgradeApp(QString pkgPath);
bool isLimitAccessFolder();
private:
Ui::MainWindow *ui;

View File

@ -2046,6 +2046,10 @@ Are you sure to close?</source>
<source>IO error</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>folder limit</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Phonon::</name>