summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-gutenbrowser/gutenbrowser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/apps/opie-gutenbrowser/gutenbrowser.cpp b/noncore/apps/opie-gutenbrowser/gutenbrowser.cpp
index d0af114..644fae8 100644
--- a/noncore/apps/opie-gutenbrowser/gutenbrowser.cpp
+++ b/noncore/apps/opie-gutenbrowser/gutenbrowser.cpp
@@ -135,8 +135,8 @@ Gutenbrowser::Gutenbrowser(QWidget *,const char*, WFlags )
QString tempTitle = config.readEntry( ramble, "");
config.setGroup( tempTitle);
- int index=config.readNumEntry( "LineNumber", -1 );
+ int index = config.readNumEntry( "LineNumber", -1 );
if( index != -1) {
odebug << tempTitle << oendl;
- bookmarksMenu->insertItem( tempTitle);
+ if(!tempTitle.isEmpty()) bookmarksMenu->insertItem( tempTitle);
}
}
@@ -562,5 +562,5 @@ void Gutenbrowser::BeginBtn() {
QString LeftText;// = Lview->text();
- int linesPerPage = Lview->lastRow() - Lview->topRow();
+// int linesPerPage = Lview->lastRow() - Lview->topRow();
// int pages = (( linesPerPage / Lview->editSize() ) ) +1;
// int pageN = 0;