From 904e473fedbd3b18f925d984a04c9c03b55045a2 Mon Sep 17 00:00:00 2001 From: nils Date: Tue, 12 Oct 2010 18:49:57 +0000 Subject: corrected bug for statusbar icon (icon was shown, if attachment folder didn't exist) git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@384 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- gpgwin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gpgwin.cpp') diff --git a/gpgwin.cpp b/gpgwin.cpp index 51e33fd..5b6d59d 100644 --- a/gpgwin.cpp +++ b/gpgwin.cpp @@ -69,7 +69,7 @@ GpgWin::GpgWin() loadFile(args[1]); } } - +qDebug() << QLibraryInfo::location(QLibraryInfo::TranslationsPath); } void GpgWin::restoreSettings() @@ -625,7 +625,7 @@ void GpgWin::checkAttachmentFolder() { QString attachmentDir = qApp->applicationDirPath() + "/attachments/"; // filenum minus . and .. - uint filenum = QDir(attachmentDir).count() - 2 ; + int filenum = QDir(attachmentDir).count() - 2 ; if(filenum > 0) { QString statusText; if(filenum == 1) { -- cgit v1.2.3