[Kde-imaging] [Bug 146487] kipi-plugins export to email fails when email too large

Nicolas Lécureuil neoclust at mandriva.org
Wed Jul 8 01:23:01 CEST 2009


https://bugs.kde.org/show_bug.cgi?id=146487


Nicolas Lécureuil <neoclust at mandriva.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |neoclust at mandriva.org




--- Comment #3 from Nicolas Lécureuil <neoclust mandriva org>  2009-07-08 01:22:58 ---
What do you think about this ?

Index: sendimages/sendimages.cpp
===================================================================
--- sendimages/sendimages.cpp   (révision 992866)
+++ sendimages/sendimages.cpp   (copie de travail)
@@ -333,8 +333,10 @@
         }
         else
         {
-            kDebug(51000) << "File \"" << file.fileName() << "\" is out of
attachement limit!";
-            todoAttachement.append(*it);
+           kDebug(51000) << "File \"" << file.fileName() << "\" is out of
attachement limit!";
+           QString text = i18n("The file \"%1\" is too big to be sent, please
reduce its size or change your settings" , file.fileName());
+           d->progressDlg->addedAction(text, KIPIPlugins::WarningMessage);
+           todoAttachement.append(*it);
         }
     }

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kde-imaging mailing list