summaryrefslogtreecommitdiff
path: root/noncore/apps/checkbook/mainwindow.cpp
authordrw <drw>2002-11-02 01:29:30 (UTC)
committer drw <drw>2002-11-02 01:29:30 (UTC)
commitbf9388acdebf6e55345dff3bd1cd652b45a2202a (patch) (side-by-side diff)
tree737ca55c9a30a1dde3aa289fd99cac7e4c30a3f7 /noncore/apps/checkbook/mainwindow.cpp
parent6e9225388baa9dfac4ed09f22189cfa98a610d39 (diff)
downloadopie-bf9388acdebf6e55345dff3bd1cd652b45a2202a.zip
opie-bf9388acdebf6e55345dff3bd1cd652b45a2202a.tar.gz
opie-bf9388acdebf6e55345dff3bd1cd652b45a2202a.tar.bz2
Code updates/fixes
Diffstat (limited to 'noncore/apps/checkbook/mainwindow.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/checkbook/mainwindow.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/noncore/apps/checkbook/mainwindow.cpp b/noncore/apps/checkbook/mainwindow.cpp
index ead17b4..2eb8396 100644
--- a/noncore/apps/checkbook/mainwindow.cpp
+++ b/noncore/apps/checkbook/mainwindow.cpp
@@ -139,3 +139,6 @@ void MainWindow::slotEdit()
- QFile f( cbDir + currname + ".qcb" );
+ QString tempstr = cbDir;
+ tempstr.append( currname );
+ tempstr.append( ".qcb" );
+ QFile f( tempstr );
if ( f.exists() )
@@ -153,4 +156,6 @@ void MainWindow::slotDelete()
{
- QString name = cbDir + cbList->currentText() + ".qcb";
- QFile f( name );
+ QString tempstr = cbDir;
+ tempstr.append( cbList->currentText() );
+ tempstr.append( ".qcb" );
+ QFile f( tempstr );
if ( f.exists() )