summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-gutenbrowser/LibraryDialog.cpp
authorllornkcor <llornkcor>2004-06-15 09:51:02 (UTC)
committer llornkcor <llornkcor>2004-06-15 09:51:02 (UTC)
commit83b4b2d2670b63a2a540006cea2ea8808100d308 (patch) (side-by-side diff)
tree577fc60d3b2f63374c7bceeea311f2dc28f99e8e /noncore/apps/opie-gutenbrowser/LibraryDialog.cpp
parent631bd9765ed1d4e53ee8b021da644e0cfdcd623c (diff)
downloadopie-83b4b2d2670b63a2a540006cea2ea8808100d308.zip
opie-83b4b2d2670b63a2a540006cea2ea8808100d308.tar.gz
opie-83b4b2d2670b63a2a540006cea2ea8808100d308.tar.bz2
load guten library, and fix some dialogs
Diffstat (limited to 'noncore/apps/opie-gutenbrowser/LibraryDialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-gutenbrowser/LibraryDialog.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/noncore/apps/opie-gutenbrowser/LibraryDialog.cpp b/noncore/apps/opie-gutenbrowser/LibraryDialog.cpp
index 270a4cf..124b6f3 100644
--- a/noncore/apps/opie-gutenbrowser/LibraryDialog.cpp
+++ b/noncore/apps/opie-gutenbrowser/LibraryDialog.cpp
@@ -86,6 +86,8 @@ LibraryDialog::LibraryDialog( QWidget* parent, const char* name , bool modal, W
indexLib.setName( old_index);
new QPEDialogListener(this);
+ QTimer::singleShot( 1000, this, SLOT( FindLibrary()) );
+
}
LibraryDialog::~LibraryDialog()
@@ -255,7 +257,7 @@ void LibraryDialog::Library()
indexLib.close();
} else {
QString sMsg;
- sMsg = ( tr("Error opening local library index:\n "))+local_index;
+ sMsg = ( tr("<p>Error opening local library index:</P> "))+local_index;
QMessageBox::message( "Error",sMsg);
}
@@ -511,7 +513,7 @@ bool LibraryDialog::download_Etext()
} else {
}
} else
- QMessageBox::message("Note","There was an error\nwith the file");
+ QMessageBox::message("Note","<p>There was an error with the file</p>");
}
}
return true;
@@ -939,7 +941,7 @@ void LibraryDialog::newList()
QString cmd="wget -O " + gutenindex1 + " http://sailor.gutenberg.org/GUTINDEX.ALL 2>&1";
int result = QMessageBox::warning( this,"Download"
- ,"Ok to use /'wget/' to download\na new library list?\n"
+ ,"<p>Ok to use /'wget/' to download a new library list?</P>"
,"Yes","No",0,0,1);
qApp->processEvents();
if(result == 0) {
@@ -1037,7 +1039,7 @@ bool LibraryDialog::moreInfo()
cmd="opera "+cmd;
system(cmd);
} else
- QMessageBox::message( "Note","If you select a title, this will\nsearch google.com for that title.");
+ QMessageBox::message( "Note","<p>If you select a title, this will search google.com for that title.</p>");
return true;
}