author | llornkcor <llornkcor> | 2002-07-28 19:16:22 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-07-28 19:16:22 (UTC) |
commit | 89f6643ef5f1f4401d45f51d9115636742dd926b (patch) (side-by-side diff) | |
tree | 179bb54eeea55d944086d10ea316c6e219d18017 /noncore | |
parent | 3cf3093654579932750fe82afa4504dbef96b937 (diff) | |
download | opie-89f6643ef5f1f4401d45f51d9115636742dd926b.zip opie-89f6643ef5f1f4401d45f51d9115636742dd926b.tar.gz opie-89f6643ef5f1f4401d45f51d9115636742dd926b.tar.bz2 |
made caption change with tab
-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp index 16dc7da..818a281 100644 --- a/noncore/apps/advancedfm/advancedfm.cpp +++ b/noncore/apps/advancedfm/advancedfm.cpp @@ -288,11 +288,16 @@ void AdvancedFm::tabChanged(QWidget *w) currentPathCombo->lineEdit()->setText( currentDir.canonicalPath()); viewMenu->setItemChecked(viewMenu->idAt(0),TRUE); viewMenu->setItemChecked(viewMenu->idAt(1),FALSE); + QString fs= getFileSystemType((const QString &) currentDir.canonicalPath()); + setCaption("AdvancedFm :: "+fs+" :: "+checkDiskSpace((const QString &) currentDir.canonicalPath())+" kB free" ); + } if (TabWidget->currentPageIndex() == 1) { currentPathCombo->lineEdit()->setText( currentRemoteDir.canonicalPath()); viewMenu->setItemChecked(viewMenu->idAt(1),TRUE); viewMenu->setItemChecked(viewMenu->idAt(0),FALSE); + QString fs= getFileSystemType((const QString &) currentRemoteDir.canonicalPath()); + setCaption("AdvancedFm :: "+fs+" :: "+checkDiskSpace((const QString &) currentRemoteDir.canonicalPath())+" kB free" ); } } |