Skip to content

Commit

Permalink
Polish on legacy removal changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pvuorela committed May 4, 2016
1 parent d0b0453 commit 784ebca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
18 changes: 8 additions & 10 deletions fingerterm.pro
@@ -1,24 +1,21 @@
QT = core gui qml quick dbus
QT = core gui qml quick dbus

CONFIG += link_pkgconfig

enable-feedback {
QT += feedback
DEFINES += HAVE_FEEDBACK
QT += feedback
DEFINES += HAVE_FEEDBACK
}

enable-nemonotifications {
PKGCONFIG += nemonotifications-qt5
PKGCONFIG += nemonotifications-qt5
}

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
TARGET = fingerterm
Expand All @@ -34,7 +31,8 @@ HEADERS += \
version.h \
util.h \
keyloader.h \
mainwindow.h
mainwindow.h

SOURCES += \
main.cpp \
terminal.cpp \
Expand Down
4 changes: 0 additions & 4 deletions main.cpp
Expand Up @@ -166,10 +166,6 @@ int main(int argc, char *argv[])
} else
view.show();

#ifdef RESIZE_ROOT_QML_TO_VIEW
view.setResizeMode(QQuickView::SizeRootObjectToView);
#endif

PtyIFace ptyiface(pid, socketM, &term,
settings->value("terminal/charset").toString());

Expand Down

0 comments on commit 784ebca

Please sign in to comment.