OSDN Git Service

ドラッグ検出のピクセル閾値を変更
[gefu/Gefu.git] / copymoveworker.cpp
index efe891b..3f614b5 100644 (file)
@@ -20,10 +20,10 @@ CopyMoveWorker::CopyMoveWorker(QObject *parent) :
 void CopyMoveWorker::operate()\r
 {\r
     if (m_Move) {\r
-        m_progressText->setText(tr("移動準備中..."));\r
+        emit information(tr("移動準備中..."));\r
     }\r
     else {\r
-        m_progressText->setText(tr("コピー準備中..."));\r
+        emit information(tr("コピー準備中..."));\r
     }\r
 \r
     foreach (const QFileInfo &info, *m_CopyList) {\r
@@ -91,7 +91,7 @@ void CopyMoveWorker::operate()
                     if (errorCount > 0) {\r
                         msg += tr("%1個のファイルをコピーできませんでした。").arg(errorCount);\r
                     }\r
-                    m_progressText->setText(msg);\r
+                    emit information(msg);\r
                     emit canceled();\r
                     return;\r
                 }\r
@@ -172,7 +172,7 @@ void CopyMoveWorker::operate()
         if (errDelCount > 0) {\r
             msg += tr("%1ファイル削除失敗。").arg(errDelCount);\r
         }\r
-        m_progressText->setText(msg);\r
+        emit information(msg);\r
     }\r
 \r
     if (m_Move) {\r