Moved qcma.rc and qcma.qrc
This commit is contained in:
8
qcma.pro
8
qcma.pro
@@ -66,15 +66,15 @@ PKGCONFIG += libvitamtp libavformat libavcodec libavutil libswscale
|
||||
|
||||
QMAKE_CXXFLAGS += -Wno-write-strings -Wall -D__STDC_CONSTANT_MACROS
|
||||
|
||||
RESOURCES += \
|
||||
resources/qcmares.qrc
|
||||
RESOURCES += qcmares.qrc
|
||||
|
||||
OTHER_FILES += \
|
||||
resources/xml/psp2-updatelist.xml \
|
||||
resources/images/psv_icon.png \
|
||||
README.md \
|
||||
resources/images/psv_icon_16.png \
|
||||
resources/images/qcma.png \
|
||||
resources/qcma.desktop \
|
||||
resources/qcma.rc
|
||||
qcma.rc
|
||||
|
||||
FORMS += \
|
||||
src/forms/configwidget.ui \
|
||||
|
11
qcmares.qrc
Normal file
11
qcmares.qrc
Normal file
@@ -0,0 +1,11 @@
|
||||
<RCC>
|
||||
<qresource prefix="/main">
|
||||
<file>resources/xml/psp2-updatelist.xml</file>
|
||||
<file>resources/translations/qcma.es.qm</file>
|
||||
<file>resources/translations/qcma.ja.qm</file>
|
||||
<file>resources/images/psv_icon.png</file>
|
||||
<file>resources/images/psv_icon_16.png</file>
|
||||
<file>resources/images/qcma.png</file>
|
||||
<file>resources/images/edit-clear-locationbar-rtl.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
@@ -5,7 +5,7 @@ GenericName=Content Manager Assistant
|
||||
GenericName[es]=Asistente del Gestor de Contenido
|
||||
Comment=Content Manager Assistant for the PS Vita
|
||||
Comment[es]=Asistente del Gestor de Contenido para PS Vita
|
||||
Icon=qcma.png
|
||||
Icon=images/qcma.png
|
||||
Name=QCMA
|
||||
Path=
|
||||
StartupNotify=false
|
||||
|
@@ -1,11 +0,0 @@
|
||||
<RCC>
|
||||
<qresource prefix="/main">
|
||||
<file>xml/psp2-updatelist.xml</file>
|
||||
<file>translations/qcma.es.qm</file>
|
||||
<file>translations/qcma.ja.qm</file>
|
||||
<file>images/psv_icon.png</file>
|
||||
<file>images/psv_icon_16.png</file>
|
||||
<file>images/qcma.png</file>
|
||||
<file>images/edit-clear-locationbar-rtl.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
@@ -478,7 +478,7 @@ void CmaEvent::vitaEventSendHttpObjectFromURL(vita_event_t *event, int eventId)
|
||||
if(!file.open(QIODevice::ReadOnly)) {
|
||||
if(basename == "psp2-updatelist.xml") {
|
||||
qDebug("Found request for update list. Sending cached data");
|
||||
QFile res(":/main/resources/psp2-updatelist.xml");
|
||||
QFile res(":/main/resources/xml/psp2-updatelist.xml");
|
||||
res.open(QIODevice::ReadOnly);
|
||||
data = res.readAll();
|
||||
} else {
|
||||
|
@@ -26,7 +26,7 @@ FilterLineEdit::FilterLineEdit(QWidget *parent) :
|
||||
QLineEdit(parent)
|
||||
{
|
||||
clearButton = new QToolButton(this);
|
||||
QIcon clearIcon(":/main/images/edit-clear-locationbar-rtl.png");
|
||||
QIcon clearIcon(":/main/resources/images/edit-clear-locationbar-rtl.png");
|
||||
clearButton->setIcon(clearIcon);
|
||||
clearButton->setCursor(Qt::ArrowCursor);
|
||||
clearButton->setStyleSheet("border:none;padding:0px");
|
||||
|
@@ -119,7 +119,7 @@ void MainWidget::showAboutDialog()
|
||||
about.setWindowTitle(tr("About QCMA"));
|
||||
about.setInformativeText(tr("Copyright (C) 2013 Codestation") + "\n");
|
||||
about.setStandardButtons(QMessageBox::Ok);
|
||||
about.setIconPixmap(QPixmap(":/main/images/qcma.png"));
|
||||
about.setIconPixmap(QPixmap(":/main/resources/images/qcma.png"));
|
||||
about.setDefaultButton(QMessageBox::Ok);
|
||||
|
||||
// hack to expand the messagebox minimum size
|
||||
@@ -164,9 +164,9 @@ void MainWidget::createTrayIcon()
|
||||
trayIcon = new QSystemTrayIcon(this);
|
||||
trayIcon->setContextMenu(trayIconMenu);
|
||||
#ifndef Q_OS_WIN32
|
||||
trayIcon->setIcon(QIcon(":/main/images/psv_icon.png"));
|
||||
trayIcon->setIcon(QIcon(":/main/resources/images/psv_icon.png"));
|
||||
#else
|
||||
trayIcon->setIcon(QIcon(":/main/images/psv_icon_16.png"));
|
||||
trayIcon->setIcon(QIcon(":/main/resources/images/psv_icon_16.png"));
|
||||
#endif
|
||||
trayIcon->show();
|
||||
// try to avoid the iconTray Qt bug
|
||||
|
Reference in New Issue
Block a user