blob: cf7d556bfcf784c5a2a1db06e36d054bd246d1c2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- src/ugeneui/src/Main.cpp.orig
+++ src/ugeneui/src/Main.cpp
@@ -164,7 +164,7 @@ static void setDataSearchPaths() {
dataSearchPaths.push_back( appDirPath+RELATIVE_DEV_DATA_DIR );
}
-#if (defined(Q_OS_LINUX) || defined(Q_OS_UNIX)) && defined( UGENE_DATA_DIR )
+#if defined(Q_OS_UNIX) && defined(UGENE_DATA_DIR)
//using directory which is set during installation process on Linux
QString ugene_data_dir( UGENE_DATA_DIR );
if( QDir(ugene_data_dir).exists() ) {
@@ -361,7 +361,7 @@ int main(int argc, char **argv)
qt_use_native_dialogs = useNative; //using local here for debugger
#endif
-#if defined(Q_OS_MAC) || defined(Q_OS_LINUX)
+#if defined(Q_OS_UNIX)
if (envList.indexOf("UGENE_GUI_TEST=1") >= 0) {
QApplication::setAttribute(Qt::AA_DontUseNativeMenuBar);
}
|