aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp
diff options
context:
space:
mode:
authorq5sys <jt@obs-sec.com>2017-06-16 16:09:02 -0400
committerq5sys <jt@obs-sec.com>2017-06-16 16:09:02 -0400
commit36bfbaf6410c1cb1967049e77ada2844ab2e0084 (patch)
tree3542ce94f266b88a70ae2a5bf1c158f6c88b8d3d /src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp
parentset properties for treeview (diff)
downloadlumina-36bfbaf6410c1cb1967049e77ada2844ab2e0084.tar.gz
lumina-36bfbaf6410c1cb1967049e77ada2844ab2e0084.tar.bz2
lumina-36bfbaf6410c1cb1967049e77ada2844ab2e0084.zip
clean up unneeded comment formatting
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp')
-rw-r--r--src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp
index 08eb572d..9633df89 100644
--- a/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp
+++ b/src-qt5/desktop-utils/lumina-fm/widgets/DirWidget2.cpp
@@ -65,8 +65,6 @@
connect(BW, SIGNAL(updateDirectoryStatus(QString)), this, SLOT(dirStatusChanged(QString)) );
connect(BW, SIGNAL(hasFocus(QString)), this, SLOT(setCurrentBrowser(QString)) );
- //---------------------------------------------------//
-
// Create treeviewpane QFileSystemModel model and populate
QString folderTreePath = QDir::rootPath();
dirtreeModel = new QFileSystemModel(this);
@@ -80,8 +78,6 @@
ui->folderViewPane->setColumnHidden(2, true);
ui->folderViewPane->setColumnHidden(3, true);
- //---------------------------------------------------//
-
//Now update the rest of the UI
canmodify = false; //initial value
contextMenu = new QMenu(this);
@@ -149,7 +145,6 @@
ui->tool_zoom_out->setEnabled(px >16); //lower limit on image sizes
}
- //---------------------------------------------------//
//====================
// Folder Pane
//====================
@@ -169,9 +164,6 @@
ChangeDir(tPath);
}
- //---------------------------------------------------//
-
-
// ================
// PUBLIC SLOTS
// ================
@@ -578,9 +570,7 @@
contextMenu->addAction(LXDG::findIcon("edit-rename",""), tr("Rename..."), this, SLOT(renameFiles()), kRename->key() )->setEnabled(canmodify);
contextMenu->addAction(LXDG::findIcon("edit-cut",""), tr("Cut Selection"), this, SLOT(cutFiles()), kCut->key() )->setEnabled(canmodify);
contextMenu->addAction(LXDG::findIcon("edit-copy",""), tr("Copy Selection"), this, SLOT(copyFiles()), kCopy->key() )->setEnabled(canmodify);
- //---------------------------------------------------//
if(LUtils::isValidBinary("lumina-archiver") && sel.length() ==1){ contextMenu->addAction(LXDG::findIcon("archive",""), tr("Auto-Extract"), this, SLOT(autoExtractFiles()), kExtract->key() )->setEnabled(canmodify); }
- //---------------------------------------------------//
}
if( QApplication::clipboard()->mimeData()->hasFormat("x-special/lumina-copied-files") ){
contextMenu->addAction(LXDG::findIcon("edit-paste",""), tr("Paste"), this, SLOT(pasteFiles()), QKeySequence(Qt::CTRL+Qt::Key_V) )->setEnabled(canmodify);
@@ -854,7 +844,6 @@
if(!list.isEmpty()){ emit PlayFiles(list); }
}
- //---------------------------------------------------//
void DirWidget::autoExtractFiles(){
QStringList files = currentBrowser()->currentSelection();
qDebug() << "Starting auto-extract:" << files;
@@ -866,9 +855,6 @@
QString runline = program + files[i];
pExtract->start(runline);*/
}
- //---------------------------------------------------//
-
-
//====================
// PROTECTED
bgstack15