diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2010-10-12 18:49:57 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2010-10-12 18:49:57 +0000 |
commit | 904e473fedbd3b18f925d984a04c9c03b55045a2 (patch) | |
tree | f9c34839ae8555cc81913d3014badac9791382d9 /gpgwin.cpp | |
parent | reviewed strings in settingsdialog (diff) | |
download | gpg4usb-904e473fedbd3b18f925d984a04c9c03b55045a2.tar.gz gpg4usb-904e473fedbd3b18f925d984a04c9c03b55045a2.zip |
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
Diffstat (limited to 'gpgwin.cpp')
-rw-r--r-- | gpgwin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |