author | llornkcor <llornkcor> | 2002-07-10 18:41:34 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-07-10 18:41:34 (UTC) |
commit | 01b04adb73c8bc49938b71a4bebe6fb6a5477f75 (patch) (unidiff) | |
tree | 1d9ba49cf5937d04cf203064b64472ddfb04cc82 | |
parent | 729309f7875915b2617f99228b0a71464ecfe699 (diff) | |
download | opie-01b04adb73c8bc49938b71a4bebe6fb6a5477f75.zip opie-01b04adb73c8bc49938b71a4bebe6fb6a5477f75.tar.gz opie-01b04adb73c8bc49938b71a4bebe6fb6a5477f75.tar.bz2 |
make compilable again
-rw-r--r-- | noncore/tools/formatter/formatter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/tools/formatter/formatter.cpp b/noncore/tools/formatter/formatter.cpp index 983459c..d52a4be 100644 --- a/noncore/tools/formatter/formatter.cpp +++ b/noncore/tools/formatter/formatter.cpp | |||
@@ -469,21 +469,21 @@ QString FormatterApp::getFileSystemType(const QString ¤tText) { | |||
469 | } | 469 | } |
470 | 470 | ||
471 | bool FormatterApp::doFsck() { | 471 | bool FormatterApp::doFsck() { |
472 | 472 | ||
473 | Output *outDlg; | 473 | Output *outDlg; |
474 | QString selectedDevice; | 474 | QString selectedDevice; |
475 | #if defined(QT_QWS_IPAQ) || defined(QT_QWS_EBX) // lets test on something cheap | 475 | //f defined(QT_QWS_IPAQ) || defined(QT_QWS_EBX) // lets test on something cheap |
476 | selectedDevice = deviceComboBox->currentText(); | 476 | selectedDevice = deviceComboBox->currentText(); |
477 | #else | 477 | //#else |
478 | // currentText = diskDevice = "/dev/fd0"; | 478 | // currentText = diskDevice = "/dev/fd0"; |
479 | QString umountS = "umount -v /floppy 2>&1"; | 479 | QString umountS = "umount -v /floppy 2>&1"; |
480 | QString remountS = "mount -v /floppy 2>&1"; | 480 | QString remountS = "mount -v /floppy 2>&1"; |
481 | selectedDevice ="/dev/fd0"; | 481 | selectedDevice ="/dev/fd0"; |
482 | 482 | ||
483 | #endif | 483 | //#endif |
484 | 484 | ||
485 | QString fsType = getFileSystemType((const QString &)selectedDevice); | 485 | QString fsType = getFileSystemType((const QString &)selectedDevice); |
486 | QString cmd; | 486 | QString cmd; |
487 | qDebug( selectedDevice +" "+ fsType); | 487 | qDebug( selectedDevice +" "+ fsType); |
488 | if(fsType == "vfat") cmd = "dosfsck -vy "; | 488 | if(fsType == "vfat") cmd = "dosfsck -vy "; |
489 | if(fsType == "ext2") cmd = "e2fsck -cpvy "; | 489 | if(fsType == "ext2") cmd = "e2fsck -cpvy "; |