summaryrefslogtreecommitdiff
authoralwin <alwin>2003-12-24 13:09:36 (UTC)
committer alwin <alwin>2003-12-24 13:09:36 (UTC)
commitc609fd3341bccf6150e313f4fa08ff3ca9086503 (patch) (side-by-side diff)
treefeaa476de724d9dce133830ff455611c274993b8
parentd128e2686193fb52bad638317e6f29a1b75a1db4 (diff)
downloadopie-c609fd3341bccf6150e313f4fa08ff3ca9086503.zip
opie-c609fd3341bccf6150e313f4fa08ff3ca9086503.tar.gz
opie-c609fd3341bccf6150e313f4fa08ff3ca9086503.tar.bz2
bugfix in slotAdjustLayout (tnx zecke)
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/mainwindow.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/net/mail/mainwindow.cpp b/noncore/net/mail/mainwindow.cpp
index a0ce6c1..a57fb0d 100644
--- a/noncore/net/mail/mainwindow.cpp
+++ b/noncore/net/mail/mainwindow.cpp
@@ -134,17 +134,16 @@ void MainWindow::slotAdjustLayout() {
QWidget *d = QApplication::desktop();
if ( d->width() < d->height() ) {
layout->setDirection( QBoxLayout::TopToBottom );
} else {
layout->setDirection( QBoxLayout::LeftToRight );
}
- delete d;
}
void MainWindow::slotAdjustColumns()
{
bool hidden = folderView->isHidden();
if ( hidden ) folderView->show();
folderView->setColumnWidth( 0, folderView->visibleWidth() );
if ( hidden ) folderView->hide();