summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfm.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp
index fed15b4..1083f23 100644
--- a/noncore/apps/advancedfm/advancedfm.cpp
+++ b/noncore/apps/advancedfm/advancedfm.cpp
@@ -144,8 +144,8 @@ AdvancedFm::AdvancedFm( )
Local_View = new QListView( tab, "Local_View" );
// Local_View->setResizePolicy( QListView::AutoOneFit );
- Local_View->addColumn( tr("File"),140);
- Local_View->addColumn( tr("Date"),-1);
- Local_View->setColumnAlignment(1,QListView::AlignRight);
+ Local_View->addColumn( tr("File"),130);
Local_View->addColumn( tr("Size"),-1);
+ Local_View->setColumnAlignment(1,QListView::AlignRight);
+ Local_View->addColumn( tr("Date"),-1);
Local_View->setColumnAlignment(2,QListView::AlignRight);
Local_View->setAllColumnsShowFocus(TRUE);
@@ -169,8 +169,8 @@ AdvancedFm::AdvancedFm( )
Remote_View = new QListView( tab_2, "Remote_View" );
- Remote_View->addColumn( tr("File"),140);
- Remote_View->addColumn( tr("Date"),-1);
- Remote_View->setColumnAlignment(1,QListView::AlignRight);
+ Remote_View->addColumn( tr("File"),130);
Remote_View->addColumn( tr("Size"),-1);
+ Remote_View->setColumnAlignment(1,QListView::AlignRight);
+ Remote_View->addColumn( tr("Date"),-1);
Remote_View->setColumnAlignment(2,QListView::AlignRight);
Remote_View->setAllColumnsShowFocus(TRUE);
@@ -302,5 +302,5 @@ void AdvancedFm::populateLocalView()
}
if(fileL !="./" && fi->exists()) {
- item= new QListViewItem( Local_View, fileL , fileDate, fileS);
+ item= new QListViewItem( Local_View, fileL, fileS , fileDate);
if(isDir || fileL.find("/",0,TRUE) != -1) {
@@ -355,5 +355,5 @@ void AdvancedFm::populateLocalView()
fileDate.sprintf("%s", ctime( &buf.st_mtime));
if( fileL.find(".") == -1 ){
- item= new QListViewItem( Local_View, fileL, fileDate, fileS);
+ item= new QListViewItem( Local_View, fileL, fileS, fileDate);
pm = Resource::loadPixmap( "UnknownDocument-14" );
item->setPixmap( 0,pm);
@@ -409,5 +409,5 @@ void AdvancedFm::populateRemoteView()
}
if(fileL !="./" && fi->exists()) {
- item= new QListViewItem( Remote_View, fileL, fileDate, fileS);
+ item= new QListViewItem( Remote_View, fileL, fileS, fileDate);
QPixmap pm;
@@ -460,5 +460,5 @@ void AdvancedFm::populateRemoteView()
fileDate.sprintf("%s", ctime( &buf.st_mtime));
if( fileL.find(".") == -1 ){
- item= new QListViewItem( Remote_View, fileL, fileDate, fileS);
+ item= new QListViewItem( Remote_View, fileL, fileS, fileDate);
pm = Resource::loadPixmap( "UnknownDocument-14" );
item->setPixmap( 0,pm);