Commit 784ebca2 authored by Pekka Vuorela's avatar Pekka Vuorela

Polish on legacy removal changes

parent d0b0453b
QT = core gui qml quick dbus QT = core gui qml quick dbus
CONFIG += link_pkgconfig CONFIG += link_pkgconfig
enable-feedback { enable-feedback {
QT += feedback QT += feedback
DEFINES += HAVE_FEEDBACK DEFINES += HAVE_FEEDBACK
} }
enable-nemonotifications { enable-nemonotifications {
PKGCONFIG += nemonotifications-qt5 PKGCONFIG += nemonotifications-qt5
} }
isEmpty(DEFAULT_FONT) { isEmpty(DEFAULT_FONT) {
DEFINES += DEFAULT_FONTFAMILY=\\\"monospace\\\" DEFAULT_FONT = monospace
} }
defined(DEFAULT_FONT) DEFINES += DEFAULT_FONTFAMILY=\\\"$$DEFAULT_FONT\\\"
{
DEFINES += DEFAULT_FONTFAMILY=\\\"$$DEFAULT_FONT\\\"
}
TEMPLATE = app TEMPLATE = app
TARGET = fingerterm TARGET = fingerterm
...@@ -34,7 +31,8 @@ HEADERS += \ ...@@ -34,7 +31,8 @@ HEADERS += \
version.h \ version.h \
util.h \ util.h \
keyloader.h \ keyloader.h \
mainwindow.h mainwindow.h
SOURCES += \ SOURCES += \
main.cpp \ main.cpp \
terminal.cpp \ terminal.cpp \
......
...@@ -166,10 +166,6 @@ int main(int argc, char *argv[]) ...@@ -166,10 +166,6 @@ int main(int argc, char *argv[])
} else } else
view.show(); view.show();
#ifdef RESIZE_ROOT_QML_TO_VIEW
view.setResizeMode(QQuickView::SizeRootObjectToView);
#endif
PtyIFace ptyiface(pid, socketM, &term, PtyIFace ptyiface(pid, socketM, &term,
settings->value("terminal/charset").toString()); settings->value("terminal/charset").toString());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment