summaryrefslogtreecommitdiff
path: root/noncore/apps/advancedfm/advancedfmMenu.cpp
Unidiff
Diffstat (limited to 'noncore/apps/advancedfm/advancedfmMenu.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfmMenu.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/noncore/apps/advancedfm/advancedfmMenu.cpp b/noncore/apps/advancedfm/advancedfmMenu.cpp
index 26bc36d..78f9da2 100644
--- a/noncore/apps/advancedfm/advancedfmMenu.cpp
+++ b/noncore/apps/advancedfm/advancedfmMenu.cpp
@@ -237,14 +237,13 @@ void AdvancedFm::filePerms() {
237 237
238 filePath = CurrentDir()->canonicalPath()+"/"; 238 filePath = CurrentDir()->canonicalPath()+"/";
239 239
240 for ( QStringList::Iterator it = curFileList.begin(); it != curFileList.end(); ++it ) { 240 for ( QStringList::Iterator it = curFileList.begin(); it != curFileList.end(); ++it ) {
241 filePermissions *filePerm; 241 filePermissions *filePerm;
242 filePerm = new filePermissions(this, "Permissions",true,0,(const QString &)(filePath+*it)); 242 filePerm = new filePermissions(this, "Permissions",true,0,(const QString &)(filePath+*it));
243 filePerm->showMaximized(); 243 QPEApplication::execDialog( filePerm );
244 filePerm->exec();
245 if( filePerm) 244 if( filePerm)
246 delete filePerm; 245 delete filePerm;
247 } 246 }
248 populateView(); 247 populateView();
249} 248}
250 249
@@ -259,14 +258,13 @@ void AdvancedFm::doProperties() {
259// qDebug("%d",curFileList.count()); 258// qDebug("%d",curFileList.count());
260 259
261 for ( QStringList::Iterator it = curFileList.begin(); it != curFileList.end(); ++it ) { 260 for ( QStringList::Iterator it = curFileList.begin(); it != curFileList.end(); ++it ) {
262// qDebug((filePath+*it)); 261// qDebug((filePath+*it));
263 DocLnk lnk( (filePath+*it)); 262 DocLnk lnk( (filePath+*it));
264 LnkProperties prop( &lnk ); 263 LnkProperties prop( &lnk );
265 prop.showMaximized(); 264 QPEApplication::execDialog( &prop );
266 prop.exec();
267 } 265 }
268#endif 266#endif
269 267
270} 268}
271 269
272void AdvancedFm::upDir() { 270void AdvancedFm::upDir() {
@@ -598,14 +596,13 @@ void AdvancedFm::runCommand() {
598 596
599 command << "/bin/sh"; 597 command << "/bin/sh";
600 command << "-c"; 598 command << "-c";
601 command << fileDlg->LineEdit1->text(); 599 command << fileDlg->LineEdit1->text();
602 Output *outDlg; 600 Output *outDlg;
603 outDlg = new Output( command, this, tr("AdvancedFm Output"), true); 601 outDlg = new Output( command, this, tr("AdvancedFm Output"), true);
604 outDlg->showMaximized(); 602 QPEApplication::execDialog( outDlg );
605 outDlg->exec();
606 qApp->processEvents(); 603 qApp->processEvents();
607 604
608 } 605 }
609} 606}
610 607
611void AdvancedFm::runCommandStd() { 608void AdvancedFm::runCommandStd() {
@@ -636,14 +633,13 @@ void AdvancedFm::fileStatus() {
636 command << "/bin/sh"; 633 command << "/bin/sh";
637 command << "-c"; 634 command << "-c";
638 command << "stat -l "+ curFile; 635 command << "stat -l "+ curFile;
639 636
640 Output *outDlg; 637 Output *outDlg;
641 outDlg = new Output( command, this, tr("AdvancedFm Output"), true); 638 outDlg = new Output( command, this, tr("AdvancedFm Output"), true);
642 outDlg->showMaximized(); 639 QPEApplication::execDialog( outDlg );
643 outDlg->exec();
644 qApp->processEvents(); 640 qApp->processEvents();
645} 641}
646 642
647 643
648void AdvancedFm::mkDir() { 644void AdvancedFm::mkDir() {
649 makeDir(); 645 makeDir();