Commit 41072cbb authored by Luigi Toscano's avatar Luigi Toscano

Merge remote-tracking branch 'origin/Applications/17.04'

parents cc3f8aab 32dab391
......@@ -111,7 +111,6 @@ endif()
configure_file(config-gwenview.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-gwenview.h)
include_directories(${CMAKE_CURRENT_BINARY_DIR})
add_definitions(-DTRANSLATION_DOMAIN="gwenview")
add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
## dirs to build
......
......@@ -111,6 +111,7 @@ private:
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
KLocalizedString::setApplicationDomain("gwenview");
QScopedPointer<KAboutData> aboutData(
Gwenview::createAboutData(
......@@ -119,7 +120,6 @@ int main(int argc, char *argv[])
));
aboutData->setShortDescription(i18n("An Image Viewer"));
QApplication app(argc, argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
aboutData->setOrganizationDomain(QByteArray("kde.org"));
KAboutData::setApplicationData(*aboutData);
......
project(gwenviewlib)
add_definitions(-DTRANSLATION_DOMAIN="gwenview")
set(LIBGWENVIEW_VERSION "4.97.0")
# Extract version of libjpeg so that we can use the appropriate dir
......
add_definitions(-DTRANSLATION_DOMAIN="gwenview")
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/..
${EXIV2_INCLUDE_DIR}
......
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