[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 108790] ark part is not able to deal with tarball w/o extension
From: Henrique Pinto <henriquepinto () ufmg ! br>
Date: 2005-08-07 2:29:40
Message-ID: 20050807022940.25930.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=108790
henriquepinto ufmg br changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From henriquepinto ufmg br 2005-08-07 04:29 -------
SVN commit 443724 by henrique:
* I can't see why that could crash, but it seemed to be
crashing (#108790), although I could not reproduce the
problem.
BUG: 108790
M +6 -2 archiveformatdlg.cpp
--- branches/KDE/3.5/kdeutils/ark/archiveformatdlg.cpp #443723:443724
@ -31,7 +31,8 @
ArchiveFormatDlg::ArchiveFormatDlg( QWidget * parent, const QString & defaultType )
:KDialogBase( parent, "archiveformatdialog", true,
i18n( "Choose Archive Format" ),
- KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok)
+ KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok),
+ m_combo( 0 )
{
QString defaultDescription = ArchiveFormatInfo::self()->descriptionForMimeType( defaultType );
QString text;
@ -60,7 +61,10 @
QString ArchiveFormatDlg::mimeType()
{
- return ArchiveFormatInfo::self()->mimeTypeForDescription( m_combo->currentText() );
+ if (m_combo && !m_combo->currentText().isEmpty())
+ return ArchiveFormatInfo::self()->mimeTypeForDescription( m_combo->currentText() );
+ else
+ return QString();
}
#include "archiveformatdlg.moc"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic