GUI: Disable and hide library editor for now. It will be readded after the release.

This commit is contained in:
Daniel Marjamäki 2015-09-04 14:20:49 +02:00
parent 2ae7bcaf1b
commit b7bac8c920
3 changed files with 10 additions and 19 deletions

View File

@ -5,7 +5,6 @@ DEPENDPATH += . \
../lib
INCLUDEPATH += . \
../lib
QT += xml
greaterThan(QT_MAJOR_VERSION, 4) {
QT += widgets # In Qt 5 widgets are in separate module
QT += printsupport # In Qt 5 QPrinter/QPrintDialog are in separate module
@ -50,10 +49,7 @@ FORMS = about.ui \
resultsview.ui \
scratchpad.ui \
settings.ui \
stats.ui \
librarydialog.ui \
libraryaddfunctiondialog.ui \
libraryeditargdialog.ui
stats.ui
TRANSLATIONS = cppcheck_de.ts \
cppcheck_es.ts \
@ -108,11 +104,7 @@ HEADERS += aboutdialog.h \
txtreport.h \
xmlreport.h \
xmlreportv1.h \
xmlreportv2.h \
librarydialog.h \
cppchecklibrarydata.h \
libraryaddfunctiondialog.h \
libraryeditargdialog.h
xmlreportv2.h
SOURCES += aboutdialog.cpp \
application.cpp \
@ -146,11 +138,7 @@ SOURCES += aboutdialog.cpp \
txtreport.cpp \
xmlreport.cpp \
xmlreportv1.cpp \
xmlreportv2.cpp \
librarydialog.cpp \
cppchecklibrarydata.cpp \
libraryaddfunctiondialog.cpp \
libraryeditargdialog.cpp
xmlreportv2.cpp
win32 {
DEFINES += _CRT_SECURE_NO_WARNINGS

View File

@ -62,7 +62,7 @@
<x>0</x>
<y>0</y>
<width>640</width>
<height>20</height>
<height>19</height>
</rect>
</property>
<widget class="QMenu" name="mMenuFile">
@ -710,6 +710,9 @@
<property name="toolTip">
<string>Open library editor</string>
</property>
<property name="visible">
<bool>false</bool>
</property>
</action>
</widget>
<customwidgets>

View File

@ -44,7 +44,7 @@
#include "logview.h"
#include "filelist.h"
#include "showtypes.h"
#include "librarydialog.h"
//#include "librarydialog.h"
static const QString OnlineHelpURL("http://cppcheck.sourceforge.net/manual.html");
@ -1219,8 +1219,8 @@ void MainWindow::ShowStatistics()
void MainWindow::ShowLibraryEditor()
{
LibraryDialog libraryDialog(this);
libraryDialog.exec();
//LibraryDialog libraryDialog(this);
//libraryDialog.exec();
}
void MainWindow::Log(const QString &logline)