File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,8 +44,7 @@ FORMS = about.ui \
4444 resultsview.ui \
4545 scratchpad.ui \
4646 settings.ui \
47- stats.ui \
48- selectfilesdialog.ui
47+ stats.ui
4948
5049TRANSLATIONS = cppcheck_de.ts \
5150 cppcheck_es.ts \
@@ -99,8 +98,7 @@ HEADERS += aboutdialog.h \
9998 txtreport.h \
10099 xmlreport.h \
101100 xmlreportv1.h \
102- xmlreportv2.h \
103- selectfilesdialog.h
101+ xmlreportv2.h
104102
105103SOURCES += aboutdialog.cpp \
106104 application.cpp \
@@ -132,8 +130,7 @@ SOURCES += aboutdialog.cpp \
132130 txtreport.cpp \
133131 xmlreport.cpp \
134132 xmlreportv1.cpp \
135- xmlreportv2.cpp \
136- selectfilesdialog.cpp
133+ xmlreportv2.cpp
137134
138135win32 {
139136 DEFINES += _CRT_SECURE_NO_WARNINGS
Original file line number Diff line number Diff line change 4343#include " logview.h"
4444#include " filelist.h"
4545#include " showtypes.h"
46- #include " selectfilesdialog.h"
4746
4847static const QString OnlineHelpURL (" http://cppcheck.sourceforge.net/manual.html" );
4948
@@ -374,15 +373,9 @@ QStringList MainWindow::SelectFilesToCheck(QFileDialog::FileMode mode)
374373 // QFileDialog::getExistingDirectory() because they show native Windows
375374 // selection dialog which is a lot more usable than Qt:s own dialog.
376375 if (mode == QFileDialog::ExistingFiles) {
377- SelectFilesDialog dialog (this );
378- if (dialog.exec () == QDialog::Accepted) {
379- selected = dialog.getFiles ();
380- }
381- /*
382- selected = QFileDialog::getOpenFileNames(this,
383- tr("Select files to check"),
384- mSettings->value(SETTINGS_CHECK_PATH, "").toString());
385- */
376+ selected = QFileDialog::getOpenFileNames (this ,
377+ tr (" Select files to check" ),
378+ mSettings ->value (SETTINGS_CHECK_PATH , " " ).toString ());
386379 if (selected.isEmpty ())
387380 mCurrentDirectory .clear ();
388381 else {
Load diff This file was deleted.
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments