summaryrefslogtreecommitdiffstats
path: root/kbugbuster
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-27 21:38:57 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-27 21:38:57 +0000
commit16d826ac0f129438876a1cd5d7b43179bcf11679 (patch)
treed6210df32750bb6a1a753ce13623ec54cebad135 /kbugbuster
parenteb4a2bcdc03599636b17fe199beb2b8357600a2b (diff)
downloadtdesdk-16d826ac0f129438876a1cd5d7b43179bcf11679.tar.gz
tdesdk-16d826ac0f129438876a1cd5d7b43179bcf11679.zip
Fix a number of accidental tqStatus string conversions
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1249829 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbugbuster')
-rw-r--r--kbugbuster/backend/bugcache.cpp4
-rw-r--r--kbugbuster/gui/cwbuglistcontainer.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/kbugbuster/backend/bugcache.cpp b/kbugbuster/backend/bugcache.cpp
index 4650c9fe..66f59eb5 100644
--- a/kbugbuster/backend/bugcache.cpp
+++ b/kbugbuster/backend/bugcache.cpp
@@ -97,7 +97,7 @@ void BugCache::saveBugList( const Package &pkg, const TQString &component, const
m_cacheBugs->setGroup( number );
m_cacheBugs->writeEntry( "Title", (*it).title() );
m_cacheBugs->writeEntry( "Severity", Bug::severityToString((*it).severity()) );
- m_cacheBugs->writeEntry( "tqStatus", Bug::statusToString((*it).status()) );
+ m_cacheBugs->writeEntry( "Status", Bug::statusToString((*it).status()) );
m_cacheBugs->writeEntry( "MergedWith" , (*it).mergedWith() );
m_cacheBugs->writeEntry( "Age", ( *it ).age() );
writePerson( m_cacheBugs, "Submitter", (*it).submitter() );
@@ -137,7 +137,7 @@ Bug::List BugCache::loadBugList( const Package &pkg, const TQString &component,
if ( !title.isEmpty() ) // dunno how I ended up with an all empty bug in the cache
{
Person submitter = readPerson( m_cacheBugs, "Submitter" );
- Bug::tqStatus status = Bug::stringTotqStatus( m_cacheBugs->readEntry("tqStatus") );
+ Bug::tqStatus status = Bug::stringTotqStatus( m_cacheBugs->readEntry("Status") );
Bug::Severity severity = Bug::stringToSeverity( m_cacheBugs->readEntry("Severity") );
Person developerTODO = readPerson( m_cacheBugs, "TODO" );
Bug::BugMergeList mergedWith = m_cacheBugs->readIntListEntry( "MergedWith" );
diff --git a/kbugbuster/gui/cwbuglistcontainer.cpp b/kbugbuster/gui/cwbuglistcontainer.cpp
index 59b27899..98124dda 100644
--- a/kbugbuster/gui/cwbuglistcontainer.cpp
+++ b/kbugbuster/gui/cwbuglistcontainer.cpp
@@ -68,7 +68,7 @@ CWBugListContainer::CWBugListContainer( TQWidget *parent , const char * name )
m_listBugs->addColumn( i18n( "Number" ) );
m_listBugs->addColumn( i18n( "Age" ) );
m_listBugs->addColumn( i18n( "Title" ), 500 ); // so that the widthmode isn't "Maximum"
- m_listBugs->addColumn( i18n( "tqStatus" ) );
+ m_listBugs->addColumn( i18n( "Status" ) );
m_listBugs->addColumn( i18n( "Severity" ) );
m_listBugs->addColumn( i18n( "Sender" ), 150 ); // idem. hardcoded widths suck a bit, but...
m_listBugs->setAllColumnsShowFocus( true );