added Common namespace. cli: use settings instead of env for db path
このコミットが含まれているのは:
8
shared/common.cpp
ノーマルファイル
8
shared/common.cpp
ノーマルファイル
@ -0,0 +1,8 @@
|
||||
#include "common.h"
|
||||
|
||||
void Common::setupAppInfo()
|
||||
{
|
||||
QCoreApplication::setOrganizationName("quitesimple.org");
|
||||
QCoreApplication::setOrganizationDomain("quitesimple.org");
|
||||
QCoreApplication::setApplicationName("qss");
|
||||
}
|
9
shared/common.h
ノーマルファイル
9
shared/common.h
ノーマルファイル
@ -0,0 +1,9 @@
|
||||
#ifndef COMMON_H
|
||||
#define COMMON_H
|
||||
#include <QCoreApplication>
|
||||
|
||||
namespace Common
|
||||
{
|
||||
void setupAppInfo();
|
||||
}
|
||||
#endif
|
@ -26,14 +26,16 @@ DEFINES += QT_DEPRECATED_WARNINGS
|
||||
|
||||
SOURCES += sqlitesearch.cpp \
|
||||
qssgeneralexception.cpp \
|
||||
qssquery.cpp
|
||||
qssquery.cpp \
|
||||
common.cpp
|
||||
|
||||
HEADERS += sqlitesearch.h \
|
||||
filedata.h \
|
||||
searchresult.h \
|
||||
qssgeneralexception.h \
|
||||
token.h \
|
||||
qssquery.h
|
||||
qssquery.h \
|
||||
common.h
|
||||
unix {
|
||||
target.path = /usr/lib
|
||||
INSTALLS += target
|
||||
|
新しいイシューから参照
ユーザーをブロックする