summaryrefslogtreecommitdiff
path: root/library
authorzecke <zecke>2002-09-17 17:05:19 (UTC)
committer zecke <zecke>2002-09-17 17:05:19 (UTC)
commite1614b49cf61ee37350828ce5b5178a9da752f39 (patch) (side-by-side diff)
tree836d16a45aaeb47cba40405ff8956a1661315637 /library
parent01b2fc89a105bf5b56bc1aa467343d14589dadd2 (diff)
downloadopie-e1614b49cf61ee37350828ce5b5178a9da752f39.zip
opie-e1614b49cf61ee37350828ce5b5178a9da752f39.tar.gz
opie-e1614b49cf61ee37350828ce5b5178a9da752f39.tar.bz2
update
Diffstat (limited to 'library') (more/less context) (ignore whitespace changes)
-rw-r--r--library/fileselector.h2
-rw-r--r--library/qpedecoration_qws.cpp3
2 files changed, 2 insertions, 3 deletions
diff --git a/library/fileselector.h b/library/fileselector.h
index ef57626..f1c9eb1 100644
--- a/library/fileselector.h
+++ b/library/fileselector.h
@@ -94,20 +94,20 @@ private slots:
void filePressed( int, QListViewItem *, const QPoint &, int );
void fileClicked( QListViewItem *);
void typeSelected( const QString &type );
void catSelected( int );
void cardMessage( const QCString &, const QByteArray &);
private:
void updateView();
void updateWhatsThis();
private:
// RESOLVE please -zecke@handhelds.org
- const DocLnk *selected(); // use selectedDocument() that's no luckily no compiler is putting the access into the symbol name
+ const DocLnk *selected(); // use selectedDocument() luckily no compiler is putting the access into the symbol name
FileSelectorView *view;
QString filter;
QToolButton *buttonNew, *buttonClose;
FileSelectorPrivate *d;
};
#endif
diff --git a/library/qpedecoration_qws.cpp b/library/qpedecoration_qws.cpp
index c2eb751..708dd23 100644
--- a/library/qpedecoration_qws.cpp
+++ b/library/qpedecoration_qws.cpp
@@ -98,26 +98,25 @@ static const char * const qpe_accept_xpm[] = {
class HackWidget : public QWidget
{
public:
bool needsOk() {
return (getWState() & WState_Reserved1 ) ||
(inherits( "QDialog" ) && !inherits( "QMessageBox" ) );
}
};
static QImage scaleButton( const QImage &img, int height )
{
- qWarning("Height %d %d", height, img.height() );
- if ( img.height()!=0 && img.height() != height ) {
+ if ( img.height() != 0 && img.height() != height ) {
return img.smoothScale( img.width()*height/img.height(), height );
} else {
return img;
}
}
class TLWidget : public QWidget
{
public:
QWSManager *manager()
{
return topData()->qwsManager;